Don't run the QUIC client fuzzer if QUIC is disabled
authorMatt Caswell <matt@openssl.org>
Thu, 19 Oct 2023 13:54:58 +0000 (14:54 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 23 Oct 2023 09:08:22 +0000 (10:08 +0100)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22368)

test/recipes/99-test_fuzz_quic_client.t

index 2a2849035a5c1c50f87d67d7e92a781481cba5b5..a22d0d0c3221aa9353ff1e5acadceefd4b842247 100644 (file)
@@ -15,6 +15,9 @@ use OpenSSL::Test::Utils;
 my $fuzzer = "quic-client";
 setup("test_fuzz_${fuzzer}");
 
+plan skip_all => "This test requires quic support"
+    if disabled("quic");
+
 plan tests => 2; # one more due to below require_ok(...)
 
 require_ok(srctop_file('test','recipes','fuzz.pl'));