]> granicus.if.org Git - strace/commit
tests: add recv_mmsg and send_mmsg functions to libtests
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 19 Jul 2016 15:09:05 +0000 (15:09 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 19 Jul 2016 17:45:02 +0000 (17:45 +0000)
commitaaf526ce325b57383c4b4fa3b62fe84421a38f80
treebd77856ee537a312563ffed9d9f8b4a8f4443624
parent736d8e4d3f2d32f18621a272326953ecd890779a
tests: add recv_mmsg and send_mmsg functions to libtests

* tests/tests.h (recv_mmsg, send_mmsg): New prototype.
* tests/libmmsg.c: New file.
* tests/Makefile.am (libtests_a_SOURCES): Add it.
* tests/mmsg.c Do not check for __NR_sendmmsg, __NR_recvmmsg,
HAVE_SENDMMSG, and HAVE_RECVMMSG.  Do not include unused headers.
(recv_mmsg, send_mmsg): Remove.
tests/Makefile.am
tests/libmmsg.c [new file with mode: 0644]
tests/mmsg.c
tests/tests.h