]> granicus.if.org Git - strace/commit
tests: skip netlink_protocol.test on old systems
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 21 Jul 2016 18:18:40 +0000 (18:18 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 21 Jul 2016 20:57:55 +0000 (20:57 +0000)
commit9c652ccf908b246b016f8ae7904d80fbe83be542
tree531dcb3f30326edc5362d8af60ed51857b7666c2
parentb7844f8b4a0590fb0e37d2d7fea3043c23f49a23
tests: skip netlink_protocol.test on old systems

* tests/netlink_protocol.c: Check that HAVE_SYS_XATTR_H is defined.
Include <stdlib.h> and <sys/xattr.h>.
(main): Check that system.sockprotoname attribute is supported.
tests/netlink_protocol.c