From 2bff663bf95c00aa815bb2ed928edf75ab7c5b39 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Wed, 14 Aug 2024 10:32:25 +0200 Subject: [PATCH] Expect a failure with DSA and OpenSSL 3 in FIPS --- tests/fips/openssl/openssl_pubkey_dsa.pm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/fips/openssl/openssl_pubkey_dsa.pm b/tests/fips/openssl/openssl_pubkey_dsa.pm index 6b7a1dc076fc..038b1b4c8575 100644 --- a/tests/fips/openssl/openssl_pubkey_dsa.pm +++ b/tests/fips/openssl/openssl_pubkey_dsa.pm @@ -26,7 +26,7 @@ use testapi; use serial_terminal 'select_serial_terminal'; use strict; use warnings; -use version_utils qw(is_transactional); +use version_utils qw(is_transactional is_sle is_sle_micro); sub run { select_serial_terminal; @@ -71,8 +71,14 @@ sub run { } sub test_flags { - #poo160197 workaround since rollback seems not working with swTPM - return {no_rollback => is_transactional() ? 1 : 0}; + return { + #poo160197 workaround since rollback seems not working with swTPM + no_rollback => is_transactional() ? 1 : 0, + + # The test is expect to fail on 15-SP6+ and SLE Micro 6.0+ in FIPS mode with OpenSSL 3 + # poo#161891 + ignore_failure => (is_sle('>=15-SP6') or is_sle_micro('>=6.0')) ? 1 : 0 + }; } 1;