diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-10-12 14:00:33 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-11-28 18:54:27 -0500 |
commit | cf8d8b00518d9228d603fcd17de47c31deb70b8f (patch) | |
tree | a3540e8d4da046b59c7dca0dbf35dd2e6fb37074 /tools | |
parent | dac95906003fec1b4801115830cc14ec61c74960 (diff) |
torture: Prepare scripting for shift from %p to %pK
Because %p prints "(null)" and %pK prints "0000000000000000" or (on
32-bit systems) "00000000", this commit adjusts torture-test scripting
accordingly.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/testing/selftests/rcutorture/bin/parse-torture.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/parse-torture.sh b/tools/testing/selftests/rcutorture/bin/parse-torture.sh index f12c38909b00..5987e50cfeb4 100755 --- a/tools/testing/selftests/rcutorture/bin/parse-torture.sh +++ b/tools/testing/selftests/rcutorture/bin/parse-torture.sh | |||
@@ -55,7 +55,7 @@ then | |||
55 | exit | 55 | exit |
56 | fi | 56 | fi |
57 | 57 | ||
58 | grep --binary-files=text 'torture:.*ver:' $file | grep --binary-files=text -v '(null)' | sed -e 's/^(initramfs)[^]]*] //' -e 's/^\[[^]]*] //' | | 58 | grep --binary-files=text 'torture:.*ver:' $file | egrep --binary-files=text -v '\(null\)|rtc: 000000000* ' | sed -e 's/^(initramfs)[^]]*] //' -e 's/^\[[^]]*] //' | |
59 | awk ' | 59 | awk ' |
60 | BEGIN { | 60 | BEGIN { |
61 | ver = 0; | 61 | ver = 0; |