]> granicus.if.org Git - strace/commit
tests: rewrite ioctl_v4l2 test without reliance on init_magic
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 5 Jan 2017 01:34:24 +0000 (01:34 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 5 Jan 2017 01:34:24 +0000 (01:34 +0000)
commitff9f61dce9d5ee5aa9afee56355f628791d46c2d
tree489c1d51b829a804821de3e0419365210aec62c1
parent84e3de2018bc4862e83b0751bb73f87b94ccc9eb
tests: rewrite ioctl_v4l2 test without reliance on init_magic

* tests/ioctl_v4l2.c (cc0, cc1, cc2, cc3, fourcc): New macros.
(main): Use them.  Rewrite expected output without assumptions
on any particular magic data.
tests/ioctl_v4l2.c