13 lines
236 B
Bash
Executable File
13 lines
236 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check decoding of fadvise64 syscall.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog > /dev/null
|
|
run_strace -e $NAME $args > "$EXP"
|
|
check_prog grep
|
|
grep -v "^$NAME([0123]," < "$LOG" > "$OUT"
|
|
match_diff "$OUT" "$EXP"
|
|
rm -f "$EXP" "$OUT"
|