strace/tests/ppoll-P.c
Dmitry V. Levin 119b6a1a1d tests: check path tracing of ppoll syscall
* tests/ppoll.c (main) [PATH_TRACING_FD]: Skip if /proc/self/fd/
is not available.  Add a test call that use PATH_TRACING_FD.
(main): Conditionalize expected output for those calls
that do not use PATH_TRACING_FD with [!PATH_TRACING_FD].
* tests/ppoll-P.c: New file.
* tests/pure_executables.list: Add ppoll-P.
* tests/.gitignore: Likewise.
* tests/gen_tests.in (ppoll-P): New entry.
2018-01-17 21:31:07 +00:00

3 lines
45 B
C

#define PATH_TRACING_FD 9
#include "ppoll.c"