diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2014-07-11 17:31:27 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-09-07 16:24:32 -0700 |
commit | 1a5e31fbf9199212915095c47ebf22d0715d3389 (patch) | |
tree | 6e4ad37675335b68d179672cc2379d59213f971e /tools/testing/selftests/rcutorture/bin/parse-build.sh | |
parent | 58ade2dbe9a253635e0835adedfaa822849aa3a3 (diff) | |
download | blackbird-op-linux-1a5e31fbf9199212915095c47ebf22d0715d3389.tar.gz blackbird-op-linux-1a5e31fbf9199212915095c47ebf22d0715d3389.zip |
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/parse-build.sh')
-rwxr-xr-x | tools/testing/selftests/rcutorture/bin/parse-build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/parse-build.sh b/tools/testing/selftests/rcutorture/bin/parse-build.sh index 543230951c38..41eeeefd8a5c 100755 --- a/tools/testing/selftests/rcutorture/bin/parse-build.sh +++ b/tools/testing/selftests/rcutorture/bin/parse-build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Check the build output from an rcutorture run for goodness. # The "file" is a pathname on the local system, and "title" is @@ -7,7 +7,7 @@ # The file must contain kernel build output. # # Usage: -# sh parse-build.sh file title +# bash parse-build.sh file title # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by |