]> 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 aae818068ac52c666444722733aa431b9a585f94..59b4f719466ec4b02cd5b0bbc43699387f38a65c 100644 (file)
@@ -1,7 +1,4 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
-/***
-  Copyright 2016 Zbigniew JÄ™drzejewski-Szmek
-***/
 
 #include <sys/stat.h>
 
@@ -10,6 +7,7 @@
 #include "log.h"
 #include "selinux-util.h"
 #include "string-util.h"
+#include "tests.h"
 #include "time-util.h"
 #include "util.h"
 
@@ -95,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();