]> granicus.if.org Git - strace/commit
tests: add variants of IPC tests with different xlat verbosity levels
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sat, 7 Apr 2018 00:30:43 +0000 (02:30 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 7 May 2018 10:52:16 +0000 (10:52 +0000)
commit429d45bcabadee38bd3f4a8acb1512bda7c8498f
tree862c8f5377e72626bbedc90967e1898d6b85e3d0
parente1f99483eb035fc61d6be89fda72c670bfcd239c
tests: add variants of IPC tests with different xlat verbosity levels

* tests/.gitignore: Add ipc_msg-Xabbrev, ipc_msg-Xraw, ipc_msg-Xverbose,
ipc_msgbuf-Xabbrev, ipc_msgbuf-Xraw, ipc_msgbuf-Xverbose,
ipc_sem-Xabbrev, ipc_sem-Xraw, ipc_sem-Xverbose, ipc_shm-Xabbrev,
ipc_shm-Xraw, and ipc_shm-Xverbose.
* tests/pure_executables.list: Likewise.
* tests/gen_tests.in (ipc_msg-Xabbrev, ipc_msg-Xraw, ipc_msg-Xverbose,
ipc_msgbuf-Xabbrev, ipc_msgbuf-Xraw, ipc_msgbuf-Xverbose,
ipc_sem-Xabbrev, ipc_sem-Xraw, ipc_sem-Xverbose, ipc_shm-Xabbrev,
ipc_shm-Xraw, ipc_shm-Xverbose): New tests.
* tests/ipc_msg-Xabbrev.c: New file.
* tests/ipc_msg-Xraw.c: Likewise.
* tests/ipc_msg-Xverbose.c: Likewise.
* tests/ipc_msgbuf-Xabbrev.c: Likewise.
* tests/ipc_msgbuf-Xraw.c: Likewise.
* tests/ipc_msgbuf-Xverbose.c: Likewise.
* tests/ipc_sem-Xabbrev.c: Likewise.
* tests/ipc_sem-Xraw.c: Likewise.
* tests/ipc_sem-Xverbose.c: Likewise.
* tests/ipc_shm-Xabbrev.c: Likewise.
* tests/ipc_shm-Xraw.c: Likewise.
* tests/ipc_shm-Xverbose.c: Likewise.
* tests/ipc.sh: Add support for accepting test arguments.
* tests/ipc_msgbuf.test: Likewise.
* tests/ipc_msg.c: Add handling of XLAT_RAW and XLAT_VERBOSE flags.
* tests/ipc_msgbuf.c: Likewise.
* tests/ipc_sem.c: Likewise.
* tests/ipc_shm.c: Likewise.
21 files changed:
tests/.gitignore
tests/gen_tests.in
tests/ipc.sh
tests/ipc_msg-Xabbrev.c [new file with mode: 0644]
tests/ipc_msg-Xraw.c [new file with mode: 0644]
tests/ipc_msg-Xverbose.c [new file with mode: 0644]
tests/ipc_msg.c
tests/ipc_msgbuf-Xabbrev.c [new file with mode: 0644]
tests/ipc_msgbuf-Xraw.c [new file with mode: 0644]
tests/ipc_msgbuf-Xverbose.c [new file with mode: 0644]
tests/ipc_msgbuf.c
tests/ipc_msgbuf.test
tests/ipc_sem-Xabbrev.c [new file with mode: 0644]
tests/ipc_sem-Xraw.c [new file with mode: 0644]
tests/ipc_sem-Xverbose.c [new file with mode: 0644]
tests/ipc_sem.c
tests/ipc_shm-Xabbrev.c [new file with mode: 0644]
tests/ipc_shm-Xraw.c [new file with mode: 0644]
tests/ipc_shm-Xverbose.c [new file with mode: 0644]
tests/ipc_shm.c
tests/pure_executables.list