summaryrefslogtreecommitdiffstats
path: root/src/test/test-env-util.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-31 15:32:05 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-31 17:13:44 +0100
commit2824374f952ef23d82403ee33b8604cac907903f (patch)
tree8aca1168c7307ee0c4e75725136357ca9b8ad21a /src/test/test-env-util.c
parentcore: set $SYSTEMD_EXEC_PID= environment variable for executed commands (diff)
downloadsystemd-2824374f952ef23d82403ee33b8604cac907903f.tar.xz
systemd-2824374f952ef23d82403ee33b8604cac907903f.zip
test: use test_setup_logging() in test-env-util
Diffstat (limited to 'src/test/test-env-util.c')
-rw-r--r--src/test/test-env-util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test-env-util.c b/src/test/test-env-util.c
index f77b1cdbcb..755aa069de 100644
--- a/src/test/test-env-util.c
+++ b/src/test/test-env-util.c
@@ -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();