From: Pauli Date: Wed, 2 Aug 2023 01:36:46 +0000 (+1000) Subject: test: skip FIPS config auto loading based tests if feature is disabled X-Git-Tag: openssl-3.1.3~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a4d84a976e00ed50f2bcfc4a4e7a9b48ba36e2f;p=thirdparty%2Fopenssl.git test: skip FIPS config auto loading based tests if feature is disabled Reviewed-by: Matt Caswell Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/21621) (cherry picked from commit 9a255aa2bda07286d5516a77b269178fc03779b4) --- diff --git a/test/recipes/30-test_defltfips.t b/test/recipes/30-test_defltfips.t index 426bd660d1f..103f28da764 100644 --- a/test/recipes/30-test_defltfips.t +++ b/test/recipes/30-test_defltfips.t @@ -21,6 +21,9 @@ BEGIN { use lib srctop_dir('Configurations'); use lib bldtop_dir('.'); +plan skip_all => "Configuration loading is turned off" + if disabled("autoload-config"); + my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0); plan tests =>