Re: [PATCH 4/4] tests: check decoding of nlmsgerr attributes

2017-07-18 Thread JingPiao Chen
On Wed, Jul 19, 2017 at 12:47:59AM +0300, Dmitry V. Levin wrote: > On Mon, Jul 17, 2017 at 11:07:46PM +0800, JingPiao Chen wrote: > > * tests/nlattr_nlmsgerr.c: New file. > > * tests/gen_tests.in (nlattr_nlmsgerr): New entry. > > * tests/pure_executables.list: Add nlattr_nlmsgerr. > > * tests/.giti

Re: [PATCH 4/4] tests: check decoding of nlmsgerr attributes

2017-07-18 Thread Dmitry V. Levin
On Mon, Jul 17, 2017 at 11:07:46PM +0800, JingPiao Chen wrote: > * tests/nlattr_nlmsgerr.c: New file. > * tests/gen_tests.in (nlattr_nlmsgerr): New entry. > * tests/pure_executables.list: Add nlattr_nlmsgerr. > * tests/.gitignore: Likewise. [...] > +int > +main(void) > +{ > + skip_if_unavailabl

[PATCH 4/4] tests: check decoding of nlmsgerr attributes

2017-07-17 Thread JingPiao Chen
* tests/nlattr_nlmsgerr.c: New file. * tests/gen_tests.in (nlattr_nlmsgerr): New entry. * tests/pure_executables.list: Add nlattr_nlmsgerr. * tests/.gitignore: Likewise. --- tests/.gitignore| 1 + tests/gen_tests.in | 1 + tests/nlattr_nlmsgerr.c | 89 +++