summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/test-chown-rec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/test-chown-rec.c b/src/test/test-chown-rec.c
index 786b0521b2..f635b4ff92 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");