Don't run the QUIC client fuzzer if QUIC is disabled

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22368)
This commit is contained in:
Matt Caswell 2023-10-19 14:54:58 +01:00
parent 49f5d95c05
commit f2c2857acc

View 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'));