1eb7adc
From 9ede2b1e13f72db37718853faff74b4429084d59 Mon Sep 17 00:00:00 2001
1eb7adc
From: rpm-build <rpm-build>
1eb7adc
Date: Mon, 31 Jul 2023 09:41:28 +0200
1eb7adc
Subject: [PATCH 13/35] 0013-skipped-tests-EC-curves.patch
1eb7adc
1eb7adc
Patch-name: 0013-skipped-tests-EC-curves.patch
1eb7adc
Patch-id: 13
1eb7adc
Patch-status: |
1eb7adc
    # Skipped tests from former 0011-Remove-EC-curves.patch
1eb7adc
From-dist-git-commit: 9409bc7044cf4b5773639cce20f51399888c45fd
1eb7adc
---
1eb7adc
 test/recipes/15-test_ec.t          | 2 +-
1eb7adc
 test/recipes/65-test_cmp_protect.t | 2 +-
1eb7adc
 test/recipes/65-test_cmp_vfy.t     | 2 +-
1eb7adc
 3 files changed, 3 insertions(+), 3 deletions(-)
1eb7adc
1eb7adc
diff --git a/test/recipes/15-test_ec.t b/test/recipes/15-test_ec.t
1eb7adc
index 0638d626e7..c0efd77649 100644
1eb7adc
--- a/test/recipes/15-test_ec.t
1eb7adc
+++ b/test/recipes/15-test_ec.t
1eb7adc
@@ -90,7 +90,7 @@ subtest 'Ed448 conversions -- public key' => sub {
477bb5e
 
477bb5e
 subtest 'Check loading of fips and non-fips keys' => sub {
477bb5e
     plan skip_all => "FIPS is disabled"
477bb5e
-        if $no_fips;
477bb5e
+        if 1; #Red Hat specific, original value is $no_fips;
477bb5e
 
477bb5e
     plan tests => 2;
477bb5e
 
1eb7adc
diff --git a/test/recipes/65-test_cmp_protect.t b/test/recipes/65-test_cmp_protect.t
1eb7adc
index 631603df7c..4cb2ffebbc 100644
1eb7adc
--- a/test/recipes/65-test_cmp_protect.t
1eb7adc
+++ b/test/recipes/65-test_cmp_protect.t
1eb7adc
@@ -27,7 +27,7 @@ plan skip_all => "This test is not supported in a no-cmp build"
477bb5e
 plan skip_all => "This test is not supported in a shared library build on Windows"
477bb5e
     if $^O eq 'MSWin32' && !disabled("shared");
477bb5e
 
477bb5e
-plan tests => 2 + ($no_fips ? 0 : 1); #fips test
477bb5e
+plan skip_all => 2 + ($no_fips ? 0 : 1); #fips test
477bb5e
 
477bb5e
 my @basic_cmd = ("cmp_protect_test",
f4c397c
                  data_file("prot_RSA.pem"),
1eb7adc
diff --git a/test/recipes/65-test_cmp_vfy.t b/test/recipes/65-test_cmp_vfy.t
1eb7adc
index f722800e27..26a01786bb 100644
1eb7adc
--- a/test/recipes/65-test_cmp_vfy.t
1eb7adc
+++ b/test/recipes/65-test_cmp_vfy.t
1eb7adc
@@ -27,7 +27,7 @@ plan skip_all => "This test is not supported in a no-cmp build"
477bb5e
 plan skip_all => "This test is not supported in a no-ec build"
477bb5e
     if disabled("ec");
477bb5e
 
477bb5e
-plan tests => 2 + ($no_fips ? 0 : 1); #fips test
477bb5e
+plan skip_all => 2 + ($no_fips ? 0 : 1); #fips test
477bb5e
 
477bb5e
 my @basic_cmd = ("cmp_vfy_test",
477bb5e
                  data_file("server.crt"),     data_file("client.crt"),
1eb7adc
-- 
1eb7adc
2.41.0
1eb7adc