]> granicus.if.org Git - strace/commit
tests: check path tracing of poll syscall
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 17 Jan 2018 21:31:07 +0000 (21:31 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 17 Jan 2018 21:31:07 +0000 (21:31 +0000)
commit96dbdc342d6fee432eefc6ffb2637d08d1719d0f
tree185cd659819887f8c849da039d96bf7ce3ee0ad0
parent89b39224fd02e4fe8b2a7a1a0dc3e64e911e6990
tests: check path tracing of poll syscall

* tests/poll.c (main) [PATH_TRACING_FD]: Skip if /proc/self/fd/
is not available.  Add tests calls that use PATH_TRACING_FD.
(main): Conditionalize expected output for those calls
that do not use PATH_TRACING_FD with [!PATH_TRACING_FD].
* tests/poll-P.c: New file.
* tests/pure_executables.list: Add poll-P.
* tests/.gitignore: Likewise.
* tests/poll-P.test: New test.
* tests/Makefile.am (DECODER_TESTS): Add poll-P.test.
tests/.gitignore
tests/Makefile.am
tests/poll-P.c [new file with mode: 0644]
tests/poll-P.test [new file with mode: 0755]
tests/poll.c
tests/pure_executables.list