]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: add tests for string tables for lldp and ndisc events 10652/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 6 Nov 2018 05:15:33 +0000 (14:15 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 6 Nov 2018 11:15:09 +0000 (20:15 +0900)
src/network/test-network-tables.c

index cfcfbeebf2b9a93a8c51eba13f4009bf4b737380..6b110b7110abb56ff5a128c085e59f8663874daf 100644 (file)
@@ -1,6 +1,8 @@
 #include "dhcp6-internal.h"
 #include "dhcp6-protocol.h"
 #include "ethtool-util.h"
+#include "lldp-internal.h"
+#include "ndisc-internal.h"
 #include "netdev/bond.h"
 #include "netdev/ipvlan.h"
 #include "netdev/macvlan.h"
@@ -35,6 +37,8 @@ int main(int argc, char **argv) {
         test_table(nl_union_link_info_data, NL_UNION_LINK_INFO_DATA);
         test_table(radv_prefix_delegation, RADV_PREFIX_DELEGATION);
         test_table(wol, WOL);
+        test_table(lldp_event, SD_LLDP_EVENT);
+        test_table(ndisc_event, SD_NDISC_EVENT);
 
         test_table_sparse(ipvlan_mode, NETDEV_IPVLAN_MODE);
         test_table_sparse(macvlan_mode, NETDEV_MACVLAN_MODE);