14 lines
231 B
Bash
Executable file
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
|