From: Dmitry V. Levin Date: Tue, 13 Mar 2018 01:53:04 +0000 (+0000) Subject: tests: extend ioctl.test libc protection to -y output X-Git-Tag: v4.22~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3de1462ed8a6e0820e2018aa67197c15f291ab16;p=strace tests: extend ioctl.test libc protection to -y output * tests/ioctl.test: Extend the filter of ioctl calls with standard descriptor arguments to -y output. --- diff --git a/tests/ioctl.test b/tests/ioctl.test index cbbadc83..b1b40d9e 100755 --- a/tests/ioctl.test +++ b/tests/ioctl.test @@ -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"