summaryrefslogtreecommitdiff
path: root/tests/statx.sh
blob: 6c9bfef76106b6f145e46ec0c30aee9434b8075d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# Check decoding of stat family syscalls.

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

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

exit 0