strace/tests/shmxt.test
Fei Jie 39a33b171b tests: add shmxt.test
* tests/shmxt.c: New file.
* tests/shmxt.test: New test.
* tests/.gitignore: Add shmxt.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add shmxt.test.
2016-04-20 01:08:12 +00:00

13 lines
204 B
Bash
Executable File

#!/bin/sh
# Check shmat and shmdt syscalls decoding.
. "${srcdir=.}/init.sh"
case "$STRACE_ARCH" in
alpha) shmat=osf_shmat ;;
*) shmat=shmat ;;
esac
run_strace_match_diff -e trace=$shmat,shmdt -a11