Skip to content

Commit

Permalink
selftests: do not require bash for the generated test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rolf Eike Beer authored and Shuah Khan committed Jan 5, 2017
1 parent 7ce7d89 commit a2b1e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a2b1e8a

Please sign in to comment.