strace/tests/nsyscalls.test
Dmitry V. Levin 6331fd4b32 nsyscalls.test: add mips o32 support
Out-of-range syscalls looks differently on mips o32.

* tests/nsyscalls.c (main): Handle LINUX_MIPSO32.
* tests/nsyscalls.test: Trace syscall called "syscall" on mips.
2016-05-05 18:04:33 +00:00

13 lines
195 B
Bash
Executable File

#!/bin/sh
# Check decoding of out-of-range syscalls.
. "${srcdir=.}/init.sh"
case "$STRACE_ARCH" in
mips) syscall=syscall ;;
*) syscall=none ;;
esac
run_strace_match_diff -e trace=$syscall