mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 20:55:20 +03:00
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
29 lines
890 B
Diff
29 lines
890 B
Diff
https://sources.debian.org/data/main/n/nullmailer/1:2.2-3/debian/patches/0001-Remove-race-conditions-from-tests.patch
|
|
|
|
From: Felix Lechner <felix.lechner@lease-up.com>
|
|
Date: Sat, 2 Sep 2017 09:57:43 -0300
|
|
Subject: Remove race conditions from tests
|
|
|
|
Testing the qmqp protocol fails because the testing server cannot
|
|
acquire the lock. This is solved by waiting for the previous
|
|
server to exit gracefully and clear the lock. Similarly, wait
|
|
before removing temporary directories.
|
|
|
|
Forwarded: no
|
|
Last-Update: 2017-10-07
|
|
---
|
|
test/tests/protocols | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/test/tests/protocols b/test/tests/protocols
|
|
index 0309d12..52209d7 100644
|
|
--- a/test/tests/protocols
|
|
+++ b/test/tests/protocols
|
|
@@ -54,6 +54,7 @@ do
|
|
echo "Testing protocol failure with $p."
|
|
error 11 protocol $p -p $port --host=localhost 3<$testmail
|
|
stop server
|
|
+ wait
|
|
done
|
|
|
|
stop server
|