]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
bioprinttest.c: return 1 on test skip
authorLars Erik Wik <lars.erik.wik@northern.tech>
Tue, 7 Oct 2025 09:45:07 +0000 (11:45 +0200)
committerAlexandr Nedvedicky <sashan@openssl.org>
Thu, 9 Oct 2025 19:39:56 +0000 (21:39 +0200)
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
CLA: trivial

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/28771)

test/bioprinttest.c

index 4b661a9c65da6970b6f671f12c5a9d305b2c5257..d670c2a673741b568c3e2684832c4be07b58717c 100644 (file)
@@ -551,6 +551,7 @@ static int test_n(int i)
     if (_get_printf_count_output() == 0) {
         TEST_note("Can't enable %%n handling for snprintf"
                   ", skipping the checks against libc");
+        return 1;
     }
 #elif defined(__OpenBSD__)
     {