From: Dmitry V. Levin Date: Mon, 23 Sep 2019 10:19:22 +0000 (+0000) Subject: tests: fix umovestr_cached.test when process_vm_readv is not implemented X-Git-Tag: v5.3~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53e3b744baf942b7ca6cbbf4711cd0c052cf86de;p=strace tests: fix umovestr_cached.test when process_vm_readv is not implemented * tests/umovestr_cached.test: Run strace with -z option to filter out failing process_vm_readv invocations. --- diff --git a/tests/umovestr_cached.test b/tests/umovestr_cached.test index 8ab2f67a..6150a49a 100755 --- a/tests/umovestr_cached.test +++ b/tests/umovestr_cached.test @@ -19,7 +19,8 @@ fi check_prog grep -run_strace -qq -esignal=none -eprocess_vm_readv -o '|grep -c ^process_vm_readv > count' \ +run_strace -qq -esignal=none -eprocess_vm_readv -z \ + -o '|grep -c ^process_vm_readv > count' \ -- "$STRACE_EXE" -o "$LOG" $args > /dev/null count="$(cat count)"