summaryrefslogtreecommitdiff
path: root/tests/umount.test
blob: e98ad9f3065ee714d62b693251fcc66042110c30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# Check umount syscall decoding.
#
# Copyright (c) 2015-2018 The strace developers.
# All rights reserved.
#
# SPDX-License-Identifier: GPL-2.0-or-later

. "${srcdir=.}/init.sh"

case "$STRACE_ARCH" in
	alpha) syscall=oldumount ;;
	*) syscall=umount ;;
esac
run_strace_match_diff -a24 -s6 -e trace=$syscall