diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-09-15 15:55:15 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-15 15:55:15 +0900 |
commit | 0ac4f1a5134b27264fd61d6c4f149ee71f929ffe (patch) | |
tree | 35a4ce5116e37281dc21bc8875a074e0e2e35b86 /src/test/test-path-lookup.c | |
parent | ff5f29eb69d6773d0cb51e966bd900190775f061 (diff) | |
parent | 730d989acc5cd913ffbf747570713c10f46516c4 (diff) | |
download | systemd-0ac4f1a5134b27264fd61d6c4f149ee71f929ffe.tar.gz |
Merge pull request #10070 from keszybz/test-reporting
Test reporting improvements
Diffstat (limited to 'src/test/test-path-lookup.c')
-rw-r--r-- | src/test/test-path-lookup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/test-path-lookup.c b/src/test/test-path-lookup.c index d6ea659d1d..f208559358 100644 --- a/src/test/test-path-lookup.c +++ b/src/test/test-path-lookup.c @@ -8,6 +8,7 @@ #include "rm-rf.h" #include "string-util.h" #include "strv.h" +#include "tests.h" static void test_paths(UnitFileScope scope) { char template[] = "/tmp/test-path-lookup.XXXXXXX"; @@ -78,9 +79,7 @@ static void print_generator_binary_paths(UnitFileScope scope) { } int main(int argc, char **argv) { - log_set_max_level(LOG_DEBUG); - log_parse_environment(); - log_open(); + test_setup_logging(LOG_DEBUG); test_paths(UNIT_FILE_SYSTEM); test_paths(UNIT_FILE_USER); |