1From adbb83f8dfd4dff638a57ca220634f9dfd1f565b Mon Sep 17 00:00:00 2001 2From: Steve Muckle <smuckle@google.com> 3Date: Mon, 9 Oct 2017 15:06:34 -0700 4Subject: [PATCH 07/24] selftests/exec: use /system/bin/sh 5 6The Android shell is located at /system/bin/sh. 7 8(cherry picked from commit 860cea0bba7f78cf4cbb78251849e6ef159e6914) 9Bug: 67016227 10Test: run vts-kernel -m VtsKernelLinuxKselftestStaging 11Signed-off-by: Steve Muckle <smuckle@google.com> 12--- 13 tools/testing/selftests/exec/execveat.c | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 15 16diff --git a/tools/testing/selftests/exec/execveat.c b/tools/testing/selftests/exec/execveat.c 17index 67bf7254a48f0..ecc974e75a9ba 100644 18--- a/tools/testing/selftests/exec/execveat.c 19+++ b/tools/testing/selftests/exec/execveat.c 20@@ -379,7 +379,7 @@ static int run_tests(void) 21 static void prerequisites(void) 22 { 23 int fd; 24- const char *script = "#!/bin/sh\nexit $*\n"; 25+ const char *script = "#!/system/bin/sh\nexit $*\n"; 26 27 /* Create ephemeral copies of files */ 28 exe_cp("execveat", "execveat.ephemeral"); 29-- 302.36.0.550.gb090851708-goog 31 32