468dccf59d
The "syscall" syscall only exists on o32 and causes strace to error out on 64-bit mips ABIs. Pass MIPS_ABI from the configure script through to nsyscalls.test so the MIPS ABI can be checked. * configure.ac (MIPS_ABI): Substitute into output files. * tests/Makefile.am (MIPS_ABI): Export via AM_TEST_LOG_FLAGS. * tests/nsyscalls.test: Restrict special mips handling to mips o32.
14 lines
193 B
Bash
Executable File
14 lines
193 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check decoding of out-of-range syscalls.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
if [ "$MIPS_ABI" = "o32" ]; then
|
|
syscall=syscall
|
|
else
|
|
syscall=none
|
|
fi
|
|
|
|
run_strace_match_diff -e trace=$syscall
|