blob: cf1607edf497ba01c5c6661a266905083f7e3fd8 [file] [log] [blame]
#!/bin/sh
# Check _llseek syscall decoding.
. "${srcdir=.}/init.sh"
check_prog grep
run_prog > /dev/null
run_strace -e_llseek $args > "$EXP"
grep -v '^lseek([0-9]' < "$LOG" > "$OUT"
match_diff "$OUT" "$EXP"
rm -f "$EXP" "$OUT"
exit 0