]> granicus.if.org Git - strace/commit
tests: add IPC_STAT to ipc tests, workaround limitiations of old kernels
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 14 Jan 2015 16:52:28 +0000 (16:52 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 14 Jan 2015 16:57:37 +0000 (16:57 +0000)
commit7230d0a38862a286776aedd2e8b6fe86f5891e59
treefc8f02a42011e3252641d16296f326515c421add
parent97e5996105e72d021abfb82d2bec4a077646e6ad
tests: add IPC_STAT to ipc tests, workaround limitiations of old kernels

* tests/ipc_msg.c: Include <errno.h>.
(main): Add a test call with IPC_STAT, handle old kernels MSG_STAT behaviour.
* tests/ipc_sem.c: Include <errno.h>.
(main): Add a test call with IPC_STAT, handle old kernels SEM_STAT behaviour.
* tests/ipc_shm.c: Include <errno.h>.
(main): Add a test call with IPC_STAT, handle old kernels SHM_STAT behaviour.
tests/ipc_msg.c
tests/ipc_sem.c
tests/ipc_shm.c