blob: 3ab2eb4bafef1dd33cd955b60bf300d466b35bb9 [file] [log] [blame]
#!/bin/sh
# Check access syscall decoding.
. "${srcdir=.}/init.sh"
check_prog grep
run_prog > /dev/null
run_strace -eaccess -a30 $args > "$EXP"
# Filter out access() calls made by libc.
grep -F access_sample < "$LOG" > "$OUT"
match_diff "$OUT" "$EXP"
rm -f "$EXP" "$OUT"