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:
commit
7b32820444
@ -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);
|
||||
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user