summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2016-12-14 11:59:34 +0100
committerSasha Levin <alexander.levin@verizon.com>2017-03-06 17:29:10 -0500
commit6d5a0b3bcbd4d64a16f148169f9e756136b4c50d (patch)
tree56d807aa54fe33a0274f32286b81e3e0205a7fad /tools/testing
parentb0de742a1be16b76b534d088682f18cf57f012d2 (diff)
selftests: do not require bash for the generated test
[ Upstream commit a2b1e8a20c992b01eeb76de00d4f534cbe9f3822 ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
index f76830643086..c98c53f272c1 100644
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -70,7 +70,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)