test-chown-rec: use logging helper here too

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-10-28 23:28:34 +01:00
parent 910fd5317f
commit 2b68626089
1 changed files with 1 additions and 3 deletions

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