]> granicus.if.org Git - strace/commit
tests: check decoding of IFLA_AF_SPEC netlink attribute
authorEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 25 May 2018 03:14:18 +0000 (05:14 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 6 Jun 2018 15:10:37 +0000 (15:10 +0000)
commit4f652c1ec45132a2392d8a946135d4e1655b714c
treeaa1cbfe968a7d8045ca74765ba0a572a52531758
parent6229d93cb2ad4a609c4082a24c7a0013bd473ab8
tests: check decoding of IFLA_AF_SPEC netlink attribute

* configure.ac (AC_CHECK_TYPES): Check for struct ifla_cacheinfo in
<linux/rtnetlink.h>
(AC_CHECK_DECLS): Check for IFLA_AF_SPEC in <linux/rtnetlink.h>.
* tests/nlattr_ifla_af_spec.c: New file.
* tests/pure_executables.list: Add nlattr_ifla_af_spec.
* tests/.gitignore: Likewise.
* tests/gen_tests.in (nlattr_ifla_af_spec): New test.
configure.ac
tests/.gitignore
tests/gen_tests.in
tests/nlattr_ifla_af_spec.c [new file with mode: 0644]
tests/pure_executables.list