]> granicus.if.org Git - strace/commit
tests: check decoding of successful PERF_EVENT_IOC_{ID,QUERY_BPF} ioctls
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 28 May 2018 17:34:50 +0000 (19:34 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 28 May 2018 17:34:50 +0000 (17:34 +0000)
commitbd19a4d271e5eaabeb6df93de78765559b58f676
tree05dcf4bbc7cc77d600e1c17a132d5b50ac3e7d97
parent7adb5a2f9e3ec8caeac841e8275834aac6d1e12f
tests: check decoding of successful PERF_EVENT_IOC_{ID,QUERY_BPF} ioctls

As these have some argument output on the exit path.

* tests/ioctl_perf-success.c: New file.
* tests/ioctl_perf-success.test: New test.
* tests/Makefile.am (DECODER_TESTS): Add it.
(check_PROGRAMS): Add ioctl_perf-success.
* tests/.gitignore: Likewise.
* tests/ioctl_perf.c: Remove TODO.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
tests/.gitignore
tests/Makefile.am
tests/ioctl_perf-success.c [new file with mode: 0644]
tests/ioctl_perf-success.test [new file with mode: 0755]
tests/ioctl_perf.c