lkml.org 
[lkml]   [2017]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH tip/core/rcu 02/20] torture: Prepare scripting for shift from %p to %pK
    Date
    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>
    ---
    tools/testing/selftests/rcutorture/bin/parse-torture.sh | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    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
    exit
    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 '
    BEGIN {
    ver = 0;
    --
    2.5.2
    \
     
     \ /
      Last update: 2017-12-01 21:16    [W:2.096 / U:1.888 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site