From: Yu Watanabe Date: Sun, 31 Jan 2021 14:32:05 +0000 (+0900) Subject: test: use test_setup_logging() in test-env-util X-Git-Tag: v248-rc1~187^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2824374f952ef23d82403ee33b8604cac907903f;p=thirdparty%2Fsystemd.git test: use test_setup_logging() in test-env-util --- diff --git a/src/test/test-env-util.c b/src/test/test-env-util.c index f77b1cdbcbd..755aa069de3 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();