summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-02-20 21:33:44 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-02-20 21:34:43 +0100
commite8bd4750eed7aed14864867ec2074eec4ecf51bd (patch)
tree935eb728f85e1aad2d7dfcdfa33bd67bd8cb26de
parentapp-containers/cosign: add 2.2.3 (diff)
downloadgentoo-e8bd4750eed7aed14864867ec2074eec4ecf51bd.tar.gz
gentoo-e8bd4750eed7aed14864867ec2074eec4ecf51bd.tar.bz2
gentoo-e8bd4750eed7aed14864867ec2074eec4ecf51bd.zip
mail-filter/maildrop: fixing all failures in test
Closes: https://bugs.gentoo.org/925080 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
-rw-r--r--mail-filter/maildrop/files/maildrop-3.1.6-test.patch36
1 files changed, 36 insertions, 0 deletions
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