]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
test: skip FIPS config auto loading based tests if feature is disabled
authorPauli <pauli@openssl.org>
Wed, 2 Aug 2023 01:36:46 +0000 (11:36 +1000)
committerPauli <pauli@openssl.org>
Fri, 4 Aug 2023 01:58:09 +0000 (11:58 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/21621)

(cherry picked from commit 9a255aa2bda07286d5516a77b269178fc03779b4)

test/recipes/30-test_defltfips.t

index 426bd660d1fd612159232c107ffb57a58eb6ab6f..103f28da764a003271fe16538e371e0212680d6a 100644 (file)
@@ -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 =>