summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/Makefile
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2016-12-14 13:59:34 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2017-01-05 23:18:32 +0300
commita2b1e8a20c992b01eeb76de00d4f534cbe9f3822 (patch)
treec3e06dee1c51d8dbe3749841df7d3e9d0292fa09 /tools/testing/selftests/Makefile
parent7ce7d89f48834cefece7804d38fc5d85382edf77 (diff)
downloadlinux-a2b1e8a20c992b01eeb76de00d4f534cbe9f3822.tar.xz
selftests: do not require bash for the generated test
Nothing in this minimal script seems to require bash. We often run these tests on embedded devices where the only shell available is the busybox ash. Use sh instead. Signed-off-by: Rolf Eike Beer <eb@emlix.com> Cc: stable@vger.kernel.org Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/Makefile')
-rw-r--r--tools/testing/selftests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
index 71b05891a6a1..831022b12848 100644
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -90,7 +90,7 @@ ifdef INSTALL_PATH
done;
@# Ask all targets to emit their test scripts
- echo "#!/bin/bash" > $(ALL_SCRIPT)
+ echo "#!/bin/sh" > $(ALL_SCRIPT)
echo "cd \$$(dirname \$$0)" >> $(ALL_SCRIPT)
echo "ROOT=\$$PWD" >> $(ALL_SCRIPT)