]> granicus.if.org Git - strace/commit
tests: check path tracing of old mmap syscall
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 17 Jan 2018 01:39:21 +0000 (02:39 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 17 Jan 2018 04:34:49 +0000 (04:34 +0000)
commitafd9e5e8014f911bbee211a7e5f49543376d33e4
tree7230fa29230f55e7c6d8566aaeeb8c147c24d4a9
parentd3890c53c8774412f3e500f0a9de33ac972daeac
tests: check path tracing of old mmap syscall

* tests/old_mmap.c [!TEST_FD]: Define TEST_FD.
(main) <args1_c>: Replace 5th argument with TEST_FD.
(main): Wrap the output for the calls that do not use TEST_FD
with #ifndef PATH_TRACING.
* tests/old_mmap-P.c: New file.
* tests/pure_executables.list: Add old_mmap-P.
* tests/.gitignore: Likewise.
* tests/gen_tests.in: Add old_mmap-P test.
tests/.gitignore
tests/gen_tests.in
tests/old_mmap-P.c [new file with mode: 0644]
tests/old_mmap.c
tests/pure_executables.list