summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2023-08-02 11:36:46 +1000
committerPauli <pauli@openssl.org>2023-08-04 11:58:33 +1000
commite0d12217fe5260fb54e24c02a15cdae1fe3cdf70 (patch)
tree832575d9519faa7f91b733dc7598675252858a54 /test
parent9d097d56ea9f78c4cbd973575ea112807290c66e (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) (cherry picked from commit 9a255aa2bda07286d5516a77b269178fc03779b4)
Diffstat (limited to 'test')
-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 =>