]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: use test_setup_logging() in test-env-util
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 31 Jan 2021 14:32:05 +0000 (23:32 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 31 Jan 2021 16:13:44 +0000 (01:13 +0900)
src/test/test-env-util.c

index f77b1cdbcbde6d841aaa58784462b7807bc6225a..755aa069de30179e0c52b9d16fd8e852a70854ae 100644 (file)
@@ -7,6 +7,7 @@
 #include "serialize.h"
 #include "string-util.h"
 #include "strv.h"
+#include "tests.h"
 #include "util.h"
 
 static void test_strv_env_delete(void) {
@@ -335,6 +336,8 @@ static void test_env_assignment_is_valid(void) {
 }
 
 int main(int argc, char *argv[]) {
+        test_setup_logging(LOG_DEBUG);
+
         test_strv_env_delete();
         test_strv_env_get();
         test_strv_env_unset();