Dmitry V. Levin
f14a8e1665
* 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.
15 lines
235 B
Bash
Executable File
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
|