Skip to content

Commit a2b1e8a

Browse files
DerDakonShuah Khan
authored andcommitted
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>
1 parent 7ce7d89 commit a2b1e8a

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
@@ -90,7 +90,7 @@ ifdef INSTALL_PATH
9090
done;
9191

9292
@# Ask all targets to emit their test scripts
93-
echo "#!/bin/bash" > $(ALL_SCRIPT)
93+
echo "#!/bin/sh" > $(ALL_SCRIPT)
9494
echo "cd \$$(dirname \$$0)" >> $(ALL_SCRIPT)
9595
echo "ROOT=\$$PWD" >> $(ALL_SCRIPT)
9696

0 commit comments

Comments
 (0)