Skip to content

Commit cac4773

Browse files
committed
tests: adjust dovecot 2.4 detection for F43
Fedora 43 has different config structure - a single dovecot.conf, instead of split into conf.d like it's in Debian QubesOS/qubes-issues#10102
1 parent ed4628a commit cac4773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splitgpg2tests/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def setUp(self):
370370

371371
# IMAP configuration
372372
self.imap_pw = "pass"
373-
if self.frontend.run("grep -q mail_driver /etc/dovecot/conf.d/10-mail.conf", wait=True) == 0:
373+
if self.frontend.run("grep -rq mail_driver /etc/dovecot/", wait=True) == 0:
374374
self.frontend.run(
375375
'echo "mail_driver = maildir\nmail_path = ~/Mail\nmail_inbox_path = ~/Mail\nuserdb static {\n driver = passwd\n}\npassdb static {\n driver = static\n password=pass\n}" |\
376376
tee /etc/dovecot/conf.d/100-mail.conf', wait=True, user="root")

0 commit comments

Comments
 (0)