Skip to content

Commit ed6cac2

Browse files
committed
Merge PR 373
test file reverse sync with apache svn
1 parent 03aa751 commit ed6cac2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

test/modules/md/test_300_conf_validate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ def test_md_300_013(self, env):
258258
def test_md_300_014(self, env):
259259
MDConf(env, text=f"""
260260
MDomain www.{env.http_tld} www.example2.org
261+
MDRenewMode manual
261262
262263
<VirtualHost *:12346>
263264
ServerName www.example2.org
@@ -273,6 +274,7 @@ def test_md_300_015(self, env):
273274
MDPrivateKeys RSA 2048
274275
MDPrivateKeys RSA 3072
275276
MDPrivateKeys RSA 4096
277+
MDRenewMode manual
276278
""").install()
277279
assert env.apache_restart() == 0, f'{env.apachectl_stderr}'
278280

test/modules/md/test_702_auto.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,13 @@ def test_md_702_041(self, env):
624624
# check that acme-tls/1 is available for none of the domains
625625
stat = env.get_md_status(domain)
626626
assert stat["proto"]["acme-tls/1"] == []
627+
MDConf(env).install()
628+
assert env.apache_restart() == 0, f'{env.apachectl_stderr}'
629+
env.httpd_error_log.ignore_recent(matches=[
630+
r'.*None of offered challenge types for domain.*',
631+
], lognos=[
632+
"AH10056" # challenges not available
633+
])
627634

628635
# test case: 2.4.40 mod_ssl stumbles over a SSLCertificateChainFile when installing
629636
# a fallback certificate

0 commit comments

Comments
 (0)