From cac47736189d6f2e1f741ba30dc7d3a75c2de4c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 27 Oct 2025 02:04:08 +0100 Subject: [PATCH] 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 --- splitgpg2tests/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/splitgpg2tests/tests.py b/splitgpg2tests/tests.py index 44bb5b0..f781c72 100644 --- a/splitgpg2tests/tests.py +++ b/splitgpg2tests/tests.py @@ -370,7 +370,7 @@ def setUp(self): # IMAP configuration self.imap_pw = "pass" - if self.frontend.run("grep -q mail_driver /etc/dovecot/conf.d/10-mail.conf", wait=True) == 0: + if self.frontend.run("grep -rq mail_driver /etc/dovecot/", wait=True) == 0: self.frontend.run( '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}" |\ tee /etc/dovecot/conf.d/100-mail.conf', wait=True, user="root")