mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
chg: test: Skip some tests on problematic OpenSSL version
Closes #4814 Merge branch '4814-skip-tests-on-problematic-openssl-version' into 'bind-9.18' See merge request isc-projects/bind9!9425
This commit is contained in:
commit
bae3f9d3d0
3 changed files with 13 additions and 0 deletions
|
|
@ -9,6 +9,9 @@
|
|||
# See the COPYRIGHT file distributed with this work for additional
|
||||
# information regarding copyright ownership.
|
||||
|
||||
import isctest.mark
|
||||
|
||||
|
||||
@isctest.mark.supported_openssl_version
|
||||
def test_enginepkcs11(run_tests_sh):
|
||||
run_tests_sh()
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
import os
|
||||
from pathlib import Path
|
||||
import ssl
|
||||
import subprocess
|
||||
|
||||
import pytest
|
||||
|
|
@ -63,6 +64,12 @@ dnsrps_enabled = pytest.mark.skipif(
|
|||
not is_dnsrps_available(), reason="dnsrps disabled in the build"
|
||||
)
|
||||
|
||||
supported_openssl_version = pytest.mark.skipif(
|
||||
ssl.OPENSSL_VERSION_NUMBER >= 0x300000C0
|
||||
and ssl.OPENSSL_VERSION_NUMBER < 0x300000E0,
|
||||
reason="unsupported OpenSSL [GL #4814]",
|
||||
)
|
||||
|
||||
|
||||
try:
|
||||
import flaky as flaky_pkg # type: ignore
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@
|
|||
# See the COPYRIGHT file distributed with this work for additional
|
||||
# information regarding copyright ownership.
|
||||
|
||||
import isctest.mark
|
||||
|
||||
|
||||
@isctest.mark.supported_openssl_version
|
||||
def test_keyfromlabel(run_tests_sh):
|
||||
run_tests_sh()
|
||||
|
|
|
|||
Loading…
Reference in a new issue