]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-selinux.c
Merge pull request #15442 from poettering/fido2
[thirdparty/systemd.git] / src / test / test-selinux.c
index 6caeb843f3ecf5fcb870da7dec7be4844f0f1637..59b4f719466ec4b02cd5b0bbc43699387f38a65c 100644 (file)
@@ -7,6 +7,7 @@
 #include "log.h"
 #include "selinux-util.h"
 #include "string-util.h"
+#include "tests.h"
 #include "time-util.h"
 #include "util.h"
 
@@ -92,8 +93,7 @@ int main(int argc, char **argv) {
         if (argc >= 2)
                 path = argv[1];
 
-        log_set_max_level(LOG_DEBUG);
-        log_parse_environment();
+        test_setup_logging(LOG_DEBUG);
 
         test_testing();
         test_loading();