diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/testing/selftests/rcutorture/bin/parse-console.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/parse-console.sh b/tools/testing/selftests/rcutorture/bin/parse-console.sh index a0bde6c79456..f962ba4cf68b 100755 --- a/tools/testing/selftests/rcutorture/bin/parse-console.sh +++ b/tools/testing/selftests/rcutorture/bin/parse-console.sh | |||
@@ -32,6 +32,10 @@ title="$2" | |||
32 | 32 | ||
33 | . functions.sh | 33 | . functions.sh |
34 | 34 | ||
35 | if grep -Pq '\x00' < $file | ||
36 | then | ||
37 | print_warning Console output contains nul bytes, old qemu still running? | ||
38 | fi | ||
35 | 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:' < $file | grep -v 'ODEBUG: ' | grep -v 'Warning: unable to open an initial console' > $T |
36 | if test -s $T | 40 | if test -s $T |
37 | then | 41 | then |