]> granicus.if.org Git - strace/commitdiff
tests: fix umovestr_cached.test when process_vm_readv is not implemented
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 23 Sep 2019 10:19:22 +0000 (10:19 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 23 Sep 2019 10:19:22 +0000 (10:19 +0000)
* tests/umovestr_cached.test: Run strace with -z option to filter out
failing process_vm_readv invocations.

tests/umovestr_cached.test

index 8ab2f67a0b3c4c32abe2449cb1eaa0337a1d3744..6150a49a973f4c69f3b3b305804d38b69b6944f6 100755 (executable)
@@ -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)"