]> granicus.if.org Git - strace/commitdiff
tests: disable umovestr_cached.test on ia64
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)
ia64 invokes extra process_vm_readv syscalls to obtain syscall
arguments, see linux/ia64/get_syscall_args.c for details.

* tests/umovestr_cached.test [ $STRACE_ARCH == ia64 ]: Skip.

tests/umovestr_cached.test

index d48c900ad520131fcde1bc30e3c3bddbbfc974f3..8ab2f67a0b3c4c32abe2449cb1eaa0337a1d3744 100755 (executable)
@@ -9,10 +9,16 @@
 
 . "${srcdir=.}/init.sh"
 
-check_prog env
-check_prog grep
 run_strace_match_diff -e trace=writev
 
+if [ "$STRACE_ARCH" = ia64 ]; then
+       # ia64 invokes extra process_vm_readv syscalls to obtain syscall
+       # arguments, see linux/ia64/get_syscall_args.c for details.
+       skip_ "the test is not supported on $STRACE_ARCH yet"
+fi
+
+check_prog grep
+
 run_strace -qq -esignal=none -eprocess_vm_readv -o '|grep -c ^process_vm_readv > count' \
        -- "$STRACE_EXE" -o "$LOG" $args > /dev/null