1 #!/bin/sh 2 3 # Check decoding of fadvise64 syscall. 4 5 . "${srcdir=.}/init.sh" 6 7 run_prog > /dev/null 8 run_strace -e $NAME $args > "$EXP" 9 check_prog grep 10 grep -v "^$NAME([0123]," < "$LOG" > "$OUT" 11 match_diff "$OUT" "$EXP" 12