blob: ad4b25f3f6e6f1180b356c0001d68330ff6ef9cd [file] [log] [blame]
#!/bin/sh
# Check umount2 syscall decoding.
. "${srcdir=.}/init.sh"
run_prog > /dev/null
case "$STRACE_ARCH" in
alpha|ia64) syscall=umount ;;
*) syscall=umount2 ;;
esac
OUT="$LOG.out"
run_strace -s7 -e$syscall $args > "$OUT"
match_diff "$LOG" "$OUT"
rm -f "$OUT"
exit 0