[PATCH] tests: introduce TEST_NETLINK and TEST_NETLINK_ macros

Dmitry V. Levin ldv at altlinux.org
Mon Jul 10 11:12:51 UTC 2017


On Sat, Jul 08, 2017 at 09:36:11PM +0800, JingPiao Chen wrote:
> * tests/test_netlink.h: New file.
> * tests/Makefile.am (libtests_a_SOURCES): Add it.
> * tests/netlink_sock_diag.c: Remove "netlink.h" and
> include "test_netlink.h".
> (TEST_SOCK_DIAG): New macro.
> (test_odd_family_req, test_odd_family_msg,
> test_inet_diag_sockid): Use TEST_NETLINK macro.
> test_unix_diag_req, test_unix_diag_msg,
> test_netlink_diag_req, test_netlink_diag_msg,
> test_packet_diag_req, test_packet_diag_msg,
> test_inet_diag_req, test_inet_diag_req_v2,
> test_inet_diag_msg, test_smc_diag_req,
> test_smc_diag_msg): Use TEST_SOCK_DIAG macro.

Please rebase this and all subsequent patches to the current master.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170710/ae779868/attachment.bin>


More information about the Strace-devel mailing list