summaryrefslogtreecommitdiff
path: root/tests/openat.test
blob: 3614791879ad44eae20be12b6c4bce834b0eb64b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Check openat syscall decoding.

. "${srcdir=.}/init.sh"

run_prog > /dev/null
syscall=${ME_%.test}
sample=$syscall.sample
run_strace -e$syscall -P$sample $args > "$OUT"
match_diff "$LOG" "$OUT"
rm -f "$OUT"