Skip to content

Commit 6de62ec

Browse files
DerDakongregkh
authored andcommitted
selftests: do not require bash for the generated test
commit a2b1e8a upstream. 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> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2deaeea commit 6de62ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ ifdef INSTALL_PATH
8383
done;
8484

8585
@# Ask all targets to emit their test scripts
86-
echo "#!/bin/bash" > $(ALL_SCRIPT)
86+
echo "#!/bin/sh" > $(ALL_SCRIPT)
8787
echo "cd \$$(dirname \$$0)" >> $(ALL_SCRIPT)
8888
echo "ROOT=\$$PWD" >> $(ALL_SCRIPT)
8989

0 commit comments

Comments
 (0)