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

14 lines
205 B
Bash
Executable file

#!/bin/sh
# Check fcntl decoding.
. "${srcdir=.}/init.sh"
run_prog > /dev/null
OUT="$LOG.out"
syscall=${ME_%.test}
run_strace -a8 -e$syscall $args > "$OUT"
match_diff "$LOG" "$OUT"
rm -f "$OUT"
exit 0