Fei Jie | 39a33b1 | 2016-04-18 15:10:54 +0800 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Check shmat and shmdt syscalls decoding. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | case "$STRACE_ARCH" in | ||||
8 | alpha) shmat=osf_shmat ;; | ||||
9 | *) shmat=shmat ;; | ||||
10 | esac | ||||
11 | |||||
12 | run_strace_match_diff -e trace=$shmat,shmdt -a11 |