1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/testing/nullmailer/nullmailer-2.2-disable-smtp-auth-tests.patch
Terra aaf9ab7ffa testing/nullmailer: various improvements
Squashed commit of the following:

commit af0dae99cda7c1b0c4fa725aa59a853a65644920
Author: Terra <alpine-builder@spunky.tech.futurequest.net>
Date:   Thu May 13 05:45:50 2021 -0700

commit 975ea029e145c097944f5d42c30c3d1a7882418f
Author: Terra <alpine-builder@spunky.tech.futurequest.net>
Date:   Thu May 13 05:45:10 2021 -0700

    testing/nullmailer: Add more comprehensive /etc/init.d/nullmailer

commit e7b93f65eeed56e6087942d93359f2d8a1199e40
Author: Terra <alpine-builder@spunky.tech.futurequest.net>
Date:   Thu May 13 05:41:56 2021 -0700

    testing/nullmailer: Fix install warning regarding missing embedded checksums

      ref: https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10031

commit 5bec89525c4a4a017d605ac325230cd1a9b6b3ea
Author: Terra <alpine-builder@spunky.tech.futurequest.net>
Date:   Thu May 13 05:38:26 2021 -0700

    testing/nullmailer: Fix various test issues

commit e288818ee33f54c798e2f279cf02612ebe3b51f0
Author: Terra <alpine-builder@spunky.tech.futurequest.net>
Date:   Thu May 13 05:34:55 2021 -0700

    testing/nullmailer: Replace remotes.conf with a more descriptive version
2021-05-13 20:10:30 +00:00

57 lines
2.3 KiB
Diff

https://sources.debian.org/data/main/n/nullmailer/1:2.2-3/debian/patches/0007-disable-all-smtp-auth-tests.patch
From: David Bremner <david@tethera.net>
Date: Tue, 25 Dec 2018 08:18:35 +0900
Subject: disable all smtp-auth tests
These seem racy in ways that I haven't been able to completely nail down
---
test/tests/smtp-auth | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/test/tests/smtp-auth b/test/tests/smtp-auth
index 52e12d0..2dc736f 100644
--- a/test/tests/smtp-auth
+++ b/test/tests/smtp-auth
@@ -1,25 +1,25 @@
. functions
export HELOHOST=f.q.d.n
-make-testmail
+# make-testmail
-start server "tcpserver -1 ::0 0 sh $srcdir/test/authtest-smtp.sh $tmpdir/smtp-result"
-catch-port server
+# start server "tcpserver -1 ::0 0 sh $srcdir/test/authtest-smtp.sh $tmpdir/smtp-result"
+# catch-port server
-echo 'Testing auth success with smtp'
-echo '250 OK' > $tmpdir/smtp-result
-protocol smtp --host=localhost --port=$port --user=example --pass=example 3<$testmail
+# echo 'Testing auth success with smtp'
+# echo '250 OK' > $tmpdir/smtp-result
+# protocol smtp --host=localhost --port=$port --user=example --pass=example 3<$testmail
-echo 'Testing auth login success with smtp'
-echo $'350 Go ahead\n250 AUTH' > $tmpdir/smtp-result
-protocol smtp --host=localhost --port=$port --user=example --pass=example --auth-login 3<$testmail
+# echo 'Testing auth login success with smtp'
+# echo $'350 Go ahead\n250 AUTH' > $tmpdir/smtp-result
+# protocol smtp --host=localhost --port=$port --user=example --pass=example --auth-login 3<$testmail
-echo 'Testing auth temporary failure with smtp'
-echo '450 No' > $tmpdir/smtp-result
-error 16 protocol smtp --host=localhost --port $port --user=example --pass=example 3<$testmail
+# echo 'Testing auth temporary failure with smtp'
+# echo '450 No' > $tmpdir/smtp-result
+# error 16 protocol smtp --host=localhost --port $port --user=example --pass=example 3<$testmail
-echo 'Testing auth permanent failure with smtp'
-echo '550 No' > $tmpdir/smtp-result
-error 20 protocol smtp --host=localhost --port $port --user=example --pass=example 3<$testmail
+# echo 'Testing auth permanent failure with smtp'
+# echo '550 No' > $tmpdir/smtp-result
+# error 20 protocol smtp --host=localhost --port $port --user=example --pass=example 3<$testmail
-stop server
+# stop server