Dmitry V. Levin | 78ed3f3 | 2015-03-23 00:04:27 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Check pipe/pipe2 syscalls decoding. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | syscall=pipe2 | ||||
8 | for n in pipe; do | ||||
9 | $STRACE -e$n -h > /dev/null && syscall=$syscall,$n | ||||
10 | done | ||||
11 | |||||
12 | run_prog | ||||
13 | run_strace -e$syscall $args | ||||
14 | match_grep | ||||
15 | |||||
16 | exit 0 |