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

14 lines
231 B
Bash
Executable file

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