summaryrefslogtreecommitdiff
path: root/src/network/test-network-tables.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-06 14:15:33 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-06 20:15:09 +0900
commit90208b8217e4b6bb309ca6767056c816cc0d1a4f (patch)
tree66521a700bd63e002c956315fbd2e9255f7a8296 /src/network/test-network-tables.c
parenta2dcda328a43693b73449ce6be0545dd60846cd9 (diff)
downloadsystemd-90208b8217e4b6bb309ca6767056c816cc0d1a4f.tar.gz
test: add tests for string tables for lldp and ndisc events
Diffstat (limited to 'src/network/test-network-tables.c')
-rw-r--r--src/network/test-network-tables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/test-network-tables.c b/src/network/test-network-tables.c
index cfcfbeebf2..6b110b7110 100644
--- a/src/network/test-network-tables.c
+++ b/src/network/test-network-tables.c
@@ -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);