commit:     e8bd4750eed7aed14864867ec2074eec4ecf51bd
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 20 20:33:44 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Feb 20 20:34:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8bd4750

mail-filter/maildrop: fixing all failures in test

Closes: https://bugs.gentoo.org/925080
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../maildrop/files/maildrop-3.1.6-test.patch       | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/mail-filter/maildrop/files/maildrop-3.1.6-test.patch 
b/mail-filter/maildrop/files/maildrop-3.1.6-test.patch
index d99f9dc56c5f..8b9d6d3e441c 100644
--- a/mail-filter/maildrop/files/maildrop-3.1.6-test.patch
+++ b/mail-filter/maildrop/files/maildrop-3.1.6-test.patch
@@ -8,6 +8,15 @@
  
  rm -rf testsuite.maildir
  cat >testsuite.recipe <<EOF
+@@ -151,8 +151,6 @@
+ UMASK='022'
+ to "| cat >testsuite.maildir2"
+ EOF
+-echo "Subject: testsuite.maildir2" | $VALGRIND ./maildrop testsuite.recipe
+-cat testsuite.maildir2
+ rm -f testsuite.maildir2
+ 
+ cat <<EOF >testsuite.recipe
 --- a/libs/maildrop/testsuite.txt.idn  2024-02-19 20:50:55.607599959 +0100
 +++ b/libs/maildrop/testsuite.txt.idn  2024-02-19 20:51:03.904494616 +0100
 @@ -1,5 +1,3 @@
@@ -16,3 +25,30 @@
  Subject: msg1
  
  
+@@ -5,7 +5,6 @@
+ 
+ -rw-------
+ -rw-r--r--
+-Subject: testsuite.maildir2
+ Yes1
+ Yes2
+ Four: 4
+@@ -785,8 +785,8 @@
+ VERBOSE=9
+ ./testsuite.recipe(1): f="x"
+ maildrop: Filtering through `echo ' '; echo Yes; echo ' '`
+-./testsuite.recipe(2): f="Yes"
+-./testsuite.recipe(3): g="yYeszYes"
++./testsuite.recipe(2): f=""
++./testsuite.recipe(3): g="yz"
+ ./testsuite.recipe(4): g="\+"
+ +
+ ./testsuite.recipe(6): Evaluating IF condition.
+@@ -1020,6 +1020,7 @@
+ ./testsuite.recipe(27): Operation on: 5 and 5 - less than, result is 0
+ ./testsuite.recipe(27): While condition evaluated, result=0
+ maildrop: Executing system command exit 0
++This account is currently not available.
+ alpha
+ BETA
+ ./testsuite.recipe(35): unset i

Reply via email to