summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-28 10:33:30 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-28 10:40:00 +0200
commit018eaf7445e4059b622ea6743c9d2eb367238925 (patch)
tree68269e2b18e7a2b99b2bd2a02e82bd6c6eac9bbe /src/network
parenttest-tables*: sort (diff)
downloadsystemd-018eaf7445e4059b622ea6743c9d2eb367238925.tar.xz
systemd-018eaf7445e4059b622ea6743c9d2eb367238925.zip
test-tables,test-network-tables: add a few more tests
Diffstat (limited to 'src/network')
-rw-r--r--src/network/test-network-tables.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/network/test-network-tables.c b/src/network/test-network-tables.c
index 15097b88ad..11cd7faa8b 100644
--- a/src/network/test-network-tables.c
+++ b/src/network/test-network-tables.c
@@ -4,18 +4,32 @@
#include "netdev/bond.h"
#include "netdev/ipvlan.h"
#include "netdev/macvlan.h"
+#include "netdev/tunnel.h"
#include "netlink-internal.h"
#include "networkd-link.h"
+#include "networkd-network.h"
#include "networkd-util.h"
#include "test-tables.h"
int main(int argc, char **argv) {
test_table(address_family_boolean, ADDRESS_FAMILY_BOOLEAN);
+ test_table(bond_ad_select, NETDEV_BOND_AD_SELECT);
+ test_table(bond_arp_all_targets, NETDEV_BOND_ARP_ALL_TARGETS);
+ test_table(bond_arp_validate, NETDEV_BOND_ARP_VALIDATE);
+ test_table(bond_fail_over_mac, NETDEV_BOND_FAIL_OVER_MAC);
+ test_table(bond_lacp_rate, NETDEV_BOND_LACP_RATE);
test_table(bond_mode, NETDEV_BOND_MODE);
+ test_table(bond_primary_reselect, NETDEV_BOND_PRIMARY_RESELECT);
+ test_table(bond_xmit_hash_policy, NETDEV_BOND_XMIT_HASH_POLICY);
test_table(dhcp6_message_status, DHCP6_STATUS);
+ test_table(dhcp_use_domains, DHCP_USE_DOMAINS);
test_table(duplex, DUP);
+ test_table(ip6tnl_mode, NETDEV_IP6_TNL_MODE);
+ test_table(ipv6_privacy_extensions, IPV6_PRIVACY_EXTENSIONS);
+ test_table(ipvlan_flags, NETDEV_IPVLAN_FLAGS);
test_table(link_operstate, LINK_OPERSTATE);
/* test_table(link_state, LINK_STATE); — not a reversible mapping */
+ test_table(lldp_mode, LLDP_MODE);
test_table(netdev_kind, NETDEV_KIND);
test_table(nl_union_link_info_data, NL_UNION_LINK_INFO_DATA);
test_table(wol, WOL);