Merge pull request #10551 from keszybz/two-trivial-cleanups

Two trivial cleanups
This commit is contained in:
Yu Watanabe
2018-10-29 12:03:27 +09:00
committed by GitHub
2 changed files with 1 additions and 4 deletions
-1
View File
@@ -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);
+1 -3
View File
@@ -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");