@@ -99,7 +99,7 @@ def digest_xoflen(digest: str) -> str:
9999 for variable-length hash functions."""
100100 param : str = ""
101101
102- if OS_VERSION in ("15.3" , "15. 4" , "15.5" ):
102+ if OS_VERSION in ("15.4" , "15.5" ):
103103 return param
104104
105105 if digest in ("shake128" ,):
@@ -213,9 +213,6 @@ def run_digest_tests(command_prefix: str):
213213 run_digest_tests ("openssl-1_1" )
214214
215215
216- @pytest .mark .skipif (
217- OS_VERSION in ("15.3" ,), reason = "FIPS 140-3 not supported on 15.3"
218- )
219216def fips_mode_setup_check (container_per_test : ContainerData ) -> None :
220217 """If the host is running in FIPS mode, then `fips-mode-setup --check` should
221218 exit with `0`.
@@ -311,12 +308,7 @@ def test_gcrypt_binary(container_per_test: ContainerData) -> None:
311308 r"fips-mode:y::Libgcrypt version [\d\.\-]+:" ,
312309 c .check_output ("gpgconf --show-versions" ),
313310 )
314- if not fips_ver_match :
315- if OS_VERSION == "15.3" :
316- pytest .xfail (
317- reason = "https://bugzilla.suse.com/show_bug.cgi?id=1234366"
318- )
319- assert fips_ver_match , "FIPS mode not detected by gpgconf"
311+ assert fips_ver_match , "FIPS mode not detected by gpgconf"
320312
321313 expected_fips_gcrypt_digests = {
322314 "sha1" : "c87d25a09584c040f3bfc53b570199591deb10ba648a6a6ffffdaa0badb23b8baf90b6168dd16b3a" ,
@@ -352,7 +344,7 @@ def test_gcrypt_binary(container_per_test: ContainerData) -> None:
352344 if non_fips_call .rc == 0 or any (
353345 msg in non_fips_call .stderr for msg in expected_msg
354346 ):
355- if OS_VERSION in ("15.3" , "15. 4" , "15.5" ):
347+ if OS_VERSION in ("15.4" , "15.5" ):
356348 pytest .xfail (
357349 reason = "bsc#1229856 - libgcrypt computes hashes of non-FIPS digests" ,
358350 )
@@ -375,9 +367,6 @@ def test_gpgconf_binary(container_per_test: ContainerData) -> None:
375367@pytest .mark .skipif (
376368 LOCALHOST .system_info .arch != "s390x" , reason = "libica is s390x specific"
377369)
378- @pytest .mark .skipif (
379- OS_VERSION in ("15.3" ,), reason = "FIPS 140-3 not supported on 15.3"
380- )
381370@pytest .mark .parametrize (
382371 "container_per_test" , FIPS_TESTER_IMAGES , indirect = True
383372)
0 commit comments