diff --git a/src/network/test-network-tables.c b/src/network/test-network-tables.c index 63a2ba8215e..521c5c2dc5e 100644 --- a/src/network/test-network-tables.c +++ b/src/network/test-network-tables.c @@ -35,7 +35,6 @@ int main(int argc, char **argv) { test_table(nl_union_link_info_data, NL_UNION_LINK_INFO_DATA); test_table(wol, WOL); - test_table_sparse(dhcp6_message_type, DHCP6_MESSAGE); test_table_sparse(ipvlan_mode, NETDEV_IPVLAN_MODE); test_table_sparse(macvlan_mode, NETDEV_MACVLAN_MODE); diff --git a/src/test/test-chown-rec.c b/src/test/test-chown-rec.c index 786b0521b2c..f635b4ff92a 100644 --- a/src/test/test-chown-rec.c +++ b/src/test/test-chown-rec.c @@ -147,9 +147,7 @@ static void test_chown_recursive(void) { } int main(int argc, char *argv[]) { - log_set_max_level(LOG_DEBUG); - log_parse_environment(); - log_open(); + test_setup_logging(LOG_DEBUG); if (geteuid() != 0) return log_tests_skipped("not running as root");