]> granicus.if.org Git - strace/blob - tests/ioctl.test
Replace "(unsigned long) -1L" with -1UL
[strace] / tests / ioctl.test
1 #!/bin/sh
2
3 # Check ioctl syscall decoding.
4
5 . "${srcdir=.}/init.sh"
6
7 run_prog > /dev/null
8 run_strace -a16 -eioctl $args > "$EXP"
9 check_prog grep
10 grep -v '^ioctl([012],' < "$LOG" > "$OUT"
11 match_diff "$OUT" "$EXP"
12
13 rm -f "$EXP" "$OUT"
14
15 exit 0