summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/rcutorture/bin/configinit.sh
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2014-07-12 01:31:27 +0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-09-08 03:24:32 +0400
commit1a5e31fbf9199212915095c47ebf22d0715d3389 (patch)
tree6e4ad37675335b68d179672cc2379d59213f971e /tools/testing/selftests/rcutorture/bin/configinit.sh
parent58ade2dbe9a253635e0835adedfaa822849aa3a3 (diff)
downloadlinux-1a5e31fbf9199212915095c47ebf22d0715d3389.tar.xz
rcutorture: Use bash shell for all the test scripts
Some of the scripts encode a default /bin/sh shell. On systems which use dash as default shell, these scripts fail as they are bash scripts. I encountered this while testing the sprintf() changes on a Debian system where dash is the default shell. This commit changes all such uses to use bash explicitly. Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/testing/selftests/rcutorture/bin/configinit.sh')
-rwxr-xr-xtools/testing/selftests/rcutorture/bin/configinit.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/configinit.sh b/tools/testing/selftests/rcutorture/bin/configinit.sh
index 9c3f3d39b934..d8f74185be02 100755
--- a/tools/testing/selftests/rcutorture/bin/configinit.sh
+++ b/tools/testing/selftests/rcutorture/bin/configinit.sh
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
#
-# sh configinit.sh config-spec-file [ build output dir ]
+# bash configinit.sh config-spec-file [ build output dir ]
#
# Create a .config file from the spec file. Run from the kernel source tree.
# Exits with 0 if all went well, with 1 if all went well but the config