提交 cf8d8b00 编写于 作者: P Paul E. McKenney

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: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
上级 dac95906
...@@ -55,7 +55,7 @@ then ...@@ -55,7 +55,7 @@ then
exit exit
fi fi
grep --binary-files=text 'torture:.*ver:' $file | grep --binary-files=text -v '(null)' | sed -e 's/^(initramfs)[^]]*] //' -e 's/^\[[^]]*] //' | grep --binary-files=text 'torture:.*ver:' $file | egrep --binary-files=text -v '\(null\)|rtc: 000000000* ' | sed -e 's/^(initramfs)[^]]*] //' -e 's/^\[[^]]*] //' |
awk ' awk '
BEGIN { BEGIN {
ver = 0; ver = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册