]> granicus.if.org Git - strace/blob - tests/ipc.sh
tests: factor out common shell code to functions
[strace] / tests / ipc.sh
1 #!/bin/sh
2
3 # Check decoding of ipc syscalls
4
5 . "${srcdir=.}/init.sh"
6
7 OUT="$LOG.out"
8
9 run_prog > /dev/null
10 run_strace -eipc $args > "$OUT"
11 match_grep "$LOG" "$OUT"
12
13 rm -f "$OUT"
14
15 exit 0