18 lines
276 B
Plaintext
18 lines
276 B
Plaintext
|
#!/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
|