]> granicus.if.org Git - strace/commitdiff
tests: extend ioctl.test libc protection to -y output
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 13 Mar 2018 01:53:04 +0000 (01:53 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 13 Mar 2018 01:53:04 +0000 (01:53 +0000)
* tests/ioctl.test: Extend the filter of ioctl calls with standard
descriptor arguments to -y output.

tests/ioctl.test

index cbbadc831b08cb63e61e656ce2ce1b7f239302d6..b1b40d9e3d9b540c29487e92676037ae0018a907 100755 (executable)
@@ -7,5 +7,5 @@
 check_prog grep
 run_prog > /dev/null
 run_strace -a16 -eioctl "$@" $args > "$EXP"
-grep -v '^ioctl([012],' < "$LOG" > "$OUT"
+grep -v '^ioctl([012][,<]' < "$LOG" > "$OUT"
 match_diff "$OUT" "$EXP"