strace/tests/sendfile64.test
Dmitry V. Levin f14a8e1665 tests: convert several tests from match_grep to match_diff
* tests/sendfile.test: Use match_diff instead of match_grep.
* tests/sendfile64.test: Likewise.
* tests/time.test: Likewise.
* tests/utime.test: Likewise.
* tests/xet_robust_list.test: Likewise.
* tests/sendfile.c (main): Update match patterns for match_diff.
* tests/sendfile64.c (main): Likewise.
* tests/time.c (main): Likewise.
* tests/utime.c (main): Likewise.
* tests/xet_robust_list.c (main): Likewise.
2015-08-27 00:09:46 +00:00

15 lines
235 B
Bash
Executable File

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