Home | History | Annotate | Download | only in tests
      1 #!/bin/sh
      2 
      3 # Check umount syscall decoding.
      4 
      5 . "${srcdir=.}/init.sh"
      6 
      7 run_prog > /dev/null
      8 case "$STRACE_ARCH" in
      9 	alpha) syscall=oldumount ;;
     10 	*) syscall=umount ;;
     11 esac
     12 OUT="$LOG.out"
     13 run_strace -a24 -s6 -e$syscall $args > "$OUT"
     14 match_diff "$LOG" "$OUT"
     15 rm -f "$OUT"
     16 
     17 exit 0
     18