summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2023-08-02 11:36:46 +1000
committerPauli <pauli@openssl.org>2023-08-04 11:57:27 +1000
commit9a255aa2bda07286d5516a77b269178fc03779b4 (patch)
treefeaa0b7dc8e226ff8ebc3c2a0f9f052a4c3ab40b
parenta9dde749504065e6e66b63cc12c25381465ec721 (diff)
test: skip FIPS config auto loading based tests if feature is disabled
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/21621)
-rw-r--r--test/recipes/30-test_defltfips.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/recipes/30-test_defltfips.t b/test/recipes/30-test_defltfips.t
index 426bd660d1..103f28da76 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 =>