bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] save mailboxes as mbox for make test


From: Eray Aslan
Subject: [PATCH] save mailboxes as mbox for make test
Date: Fri, 8 Nov 2019 11:15:43 +0300
User-agent: Mutt/1.12.2 (2019-09-21)

when default mailbox scheme is chosen as maildir, mda tests fail with
messages like:

        sed: read error on spool/root: Is a directory

make sure we save the test mailboxes as mbox
---
 mda/tests/forward.at | 2 +-
 mda/tests/mda.at     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/mda/tests/forward.at b/mda/tests/forward.at
index 96170ad6a..75a9d6966 100644
--- a/mda/tests/forward.at
+++ b/mda/tests/forward.at
@@ -19,7 +19,7 @@ AT_KEYWORDS([maidag forward])
 
 m4_pushdef([TESTMDA_CONF],[cat > testmda.conf <<EOF
 mailbox {
-  mailbox-pattern "$(pwd)/spool/\${user}";
+  mailbox-pattern "mbox:$(pwd)/spool/\${user}";
 }  
 
 mailer {
diff --git a/mda/tests/mda.at b/mda/tests/mda.at
index 6623fb623..083e7c318 100644
--- a/mda/tests/mda.at
+++ b/mda/tests/mda.at
@@ -16,7 +16,7 @@
 
 m4_pushdef([TESTMDA_CONF],[cat > testmda.conf <<EOF
 mailbox {
-  mailbox-pattern "$(pwd)/spool/\${user}";
+  mailbox-pattern "mbox:$(pwd)/spool/\${user}";
 }  
 EOF
 ])
@@ -56,4 +56,4 @@ cat spool/root
 
 AT_CLEANUP
 
-m4_popdef([TESTMDA_CONF])
\ No newline at end of file
+m4_popdef([TESTMDA_CONF])
-- 
2.24.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]