17 lines
221 B
Plaintext
17 lines
221 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
# Check pipe/pipe2 syscalls decoding.
|
||
|
|
||
|
. "${srcdir=.}/init.sh"
|
||
|
|
||
|
syscall=pipe2
|
||
|
for n in pipe; do
|
||
|
$STRACE -e$n -h > /dev/null && syscall=$syscall,$n
|
||
|
done
|
||
|
|
||
|
run_prog
|
||
|
run_strace -e$syscall $args
|
||
|
match_grep
|
||
|
|
||
|
exit 0
|