Re: [PATCH 27/27] tests: check decoding of NETLINK_ROUTE rtgenmsg netlink attribute

2017-08-15 Thread Dmitry V. Levin
On Tue, Aug 15, 2017 at 01:00:46PM +0800, JingPiao Chen wrote: > * tests/nlattr_rtgenmsg.c: New file. > * tests/gen_tests.in (nlattr_rtgenmsg): New enrty. > * tests/pure_executables.list: Add nlattr_rtgenmsg. > * tests/.gitignore: Likewise. [...] > +#include "tests.h" > + > +#ifdef RTM_GETNSID > +

[PATCH 27/27] tests: check decoding of NETLINK_ROUTE rtgenmsg netlink attribute

2017-08-14 Thread JingPiao Chen
* tests/nlattr_rtgenmsg.c: New file. * tests/gen_tests.in (nlattr_rtgenmsg): New enrty. * tests/pure_executables.list: Add nlattr_rtgenmsg. * tests/.gitignore: Likewise. --- tests/.gitignore| 1 + tests/gen_tests.in | 1 + tests/nlattr_rtgenmsg.c | 90 +++