summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-10-28 23:28:34 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-10-28 23:28:34 +0100
commit2b686260894ee0fda9ed75572735e750828605ca (patch)
tree32f30bb37430aecff778d0147f2a81f8469b8730 /src/test
parent910fd5317f1598c4216323f06c27c47410d00b03 (diff)
downloadsystemd-2b686260894ee0fda9ed75572735e750828605ca.tar.gz
systemd-2b686260894ee0fda9ed75572735e750828605ca.tar.bz2
systemd-2b686260894ee0fda9ed75572735e750828605ca.zip
test-chown-rec: use logging helper here too
Diffstat (limited to 'src/test')
-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");