1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +03:00

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
commit 7b32820444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

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);

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");