]> granicus.if.org Git - strace/blob - tests/open.test
ac891e3abcb11acb7e9b115eccb40ffae1db6eb5
[strace] / tests / open.test
1 #!/bin/sh
2
3 # Check open syscall decoding.
4
5 . "${srcdir=.}/init.sh"
6
7 run_prog > /dev/null
8 syscall=$NAME
9 sample=$syscall.sample
10 run_strace -a30 -e$syscall -P$sample $args > "$OUT"
11 match_diff "$LOG" "$OUT"
12 rm -f "$OUT"