]> granicus.if.org Git - strace/blob - tests/ioctl.test
Remove XLAT_END
[strace] / tests / ioctl.test
1 #!/bin/sh
2 #
3 # Check ioctl syscall decoding.
4 #
5 # Copyright (c) 2015-2018 The strace developers.
6 # All rights reserved.
7 #
8 # SPDX-License-Identifier: GPL-2.0-or-later
9
10 . "${srcdir=.}/init.sh"
11
12 check_prog grep
13 run_prog > /dev/null
14 run_strace -a16 -eioctl "$@" $args > "$EXP"
15 grep -v '^ioctl([012][,<]' < "$LOG" > "$OUT"
16 match_diff "$OUT" "$EXP"