#!/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