diff options
author | Rolf Eike Beer <eb@emlix.com> | 2016-12-14 11:59:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-19 20:17:18 +0100 |
commit | 6de62ec07d2af2f0d3f786a0676cd783484da99d (patch) | |
tree | 99233e4ae6d672a388c6ac2120208f448326f69c /tools | |
parent | 2deaeea23fbd4efe8bbcf500fcec1f688ce370ec (diff) | |
download | linux-stable-6de62ec07d2af2f0d3f786a0676cd783484da99d.tar.gz linux-stable-6de62ec07d2af2f0d3f786a0676cd783484da99d.tar.bz2 linux-stable-6de62ec07d2af2f0d3f786a0676cd783484da99d.zip |
selftests: do not require bash for the generated test
commit a2b1e8a20c992b01eeb76de00d4f534cbe9f3822 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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index c8edff6803d1..24ebd3e3eb7d 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -83,7 +83,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) |