path: root/tools/testing/selftests/rcutorture/bin/parse-console.sh
diff options
authorPranith Kumar <bobby.prani@gmail.com>2014-07-11 17:31:27 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-09-07 16:24:32 -0700
commit1a5e31fbf9199212915095c47ebf22d0715d3389 (patch)
tree6e4ad37675335b68d179672cc2379d59213f971e /tools/testing/selftests/rcutorture/bin/parse-console.sh
parentrcutorture: Fix a sparse warning by marking boost_mutex static (diff)
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 '')
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/parse-console.sh b/tools/testing/selftests/rcutorture/bin/parse-console.sh
index 4185d4cab32e..2517eaed8991 100755
--- a/tools/testing/selftests/rcutorture/bin/parse-console.sh
+++ b/tools/testing/selftests/rcutorture/bin/parse-console.sh
@@ -1,11 +1,11 @@
# Check the console output from an rcutorture run for oopses.
# The "file" is a pathname on the local system, and "title" is
# a text string for error-message purposes.
# Usage:
-# sh parse-console.sh file title
+# bash parse-console.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