From: Zbigniew Jędrzejewski-Szmek Date: Tue, 14 Jul 2020 20:18:38 +0000 (+0200) Subject: test-fs-util: use log_info instead of printf X-Git-Tag: v246-rc2~68^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16468%2Fhead;p=thirdparty%2Fsystemd.git test-fs-util: use log_info instead of printf The test is failing in koji, and the line from printf() does not end up in the logs for some reason. log_info() works fine, so let's just use that here too. --- diff --git a/src/test/test-fs-util.c b/src/test/test-fs-util.c index 80c4c209b3f..8d9a1974b24 100644 --- a/src/test/test-fs-util.c +++ b/src/test/test-fs-util.c @@ -858,7 +858,7 @@ static void test_path_is_encrypted_one(const char *p, int expect) { return; assert_se(r >= 0); - printf("%s encrypted: %s\n", p, yes_no(r)); + log_info("%s encrypted: %s", p, yes_no(r)); assert_se(expect < 0 || ((r > 0) == (expect > 0))); }