]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-fs-util: use log_info instead of printf 16468/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 14 Jul 2020 20:18:38 +0000 (22:18 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 14 Jul 2020 20:18:38 +0000 (22:18 +0200)
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.

src/test/test-fs-util.c

index 80c4c209b3f5727c7c3ff82f299e6e39fe19ec81..8d9a1974b24de4c1b65948a51e5505ca0b83fa8d 100644 (file)
@@ -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)));
 }