Skip test_fipsload when fips is disabled.
authorTomas Mraz <tomas@openssl.org>
Mon, 26 Apr 2021 10:59:23 +0000 (12:59 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 28 Apr 2021 10:06:08 +0000 (12:06 +0200)
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/15027)

test/recipes/90-test_fipsload.t

index 1ebf1b8a3ca8345116b63160e100c428ddffddf6..9aa39da0e4b9214fe08ee695c5e645ed0f286261 100644 (file)
@@ -16,6 +16,7 @@ use lib srctop_dir('Configurations');
 use lib bldtop_dir('.');
 use platform;
 
+plan skip_all => 'Test is disabled with disabled fips' if disabled('fips');
 plan skip_all => 'Test only supported in a shared build' if disabled('shared');
 plan skip_all => 'Test is disabled on AIX' if config('target') =~ m|^aix|;
 plan skip_all => 'Test is disabled on NonStop ia64' if config('target') =~ m|^nonstop-nse|;