android_mt6572_jiabo/external/strace/tests/statx.sh
2025-09-05 16:56:03 +08:00

14 lines
238 B
Bash
Executable file

#!/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