diff options
author | Rolf Eike Beer <eb@emlix.com> | 2016-12-14 05:59:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-19 14:17:58 -0500 |
commit | 057ac4429aef93831aa90daae1fad840297274fa (patch) | |
tree | 5b7c5f78742bfe77a680655422306b53ac3c7c40 | |
parent | 91ee732cb5632b0546d514daed6a72b7ed516f7b (diff) |
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>
-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 f770dba2a6f6..a899ef81c705 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile | |||
@@ -87,7 +87,7 @@ ifdef INSTALL_PATH | |||
87 | done; | 87 | done; |
88 | 88 | ||
89 | @# Ask all targets to emit their test scripts | 89 | @# Ask all targets to emit their test scripts |
90 | echo "#!/bin/bash" > $(ALL_SCRIPT) | 90 | echo "#!/bin/sh" > $(ALL_SCRIPT) |
91 | echo "cd \$$(dirname \$$0)" >> $(ALL_SCRIPT) | 91 | echo "cd \$$(dirname \$$0)" >> $(ALL_SCRIPT) |
92 | echo "ROOT=\$$PWD" >> $(ALL_SCRIPT) | 92 | echo "ROOT=\$$PWD" >> $(ALL_SCRIPT) |
93 | 93 | ||