diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-12-08 12:13:52 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-01-06 14:05:24 -0500 |
commit | e9408e4f278875aa5862560b4b425b27dfcb643f (patch) | |
tree | ab1e600f3b61a74880df355d6b836eb088c4e13a | |
parent | 68158fe2b2aa0f0c1cf96b40020c7d180915479b (diff) |
rcutorture: Add checks for stall ending before dump start
The current rcutorture scripting checks for actual stalls (via the "Call
Trace:" check), but fails to spot the case where a stall ends just as it
is being detected. This commit therefore adds a check for this case.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
-rwxr-xr-x | tools/testing/selftests/rcutorture/bin/parse-console.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/parse-console.sh b/tools/testing/selftests/rcutorture/bin/parse-console.sh index f962ba4cf68b..d8f35cf116be 100755 --- a/tools/testing/selftests/rcutorture/bin/parse-console.sh +++ b/tools/testing/selftests/rcutorture/bin/parse-console.sh | |||
@@ -36,7 +36,7 @@ if grep -Pq '\x00' < $file | |||
36 | then | 36 | then |
37 | print_warning Console output contains nul bytes, old qemu still running? | 37 | print_warning Console output contains nul bytes, old qemu still running? |
38 | fi | 38 | fi |
39 | egrep 'Badness|WARNING:|Warn|BUG|===========|Call Trace:|Oops:' < $file | grep -v 'ODEBUG: ' | grep -v 'Warning: unable to open an initial console' > $T | 39 | egrep 'Badness|WARNING:|Warn|BUG|===========|Call Trace:|Oops:|Stall ended before state dump start' < $file | grep -v 'ODEBUG: ' | grep -v 'Warning: unable to open an initial console' > $T |
40 | if test -s $T | 40 | if test -s $T |
41 | then | 41 | then |
42 | print_warning Assertion failure in $file $title | 42 | print_warning Assertion failure in $file $title |