Browse Source

Work around a race condition in test suite

Christoph Biedl 8 months ago
parent
commit
0192ce2733
2 changed files with 17 additions and 0 deletions
  1. 15 0
      debian/patches/fix-race-in-testsuite.patch
  2. 2 0
      debian/patches/series

+ 15 - 0
debian/patches/fix-race-in-testsuite.patch

@@ -0,0 +1,15 @@
+Subject: Fix race in testsuite
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Date: 2020-06-21
+Forwarded: https://ngircd.barton.de/pipermail/ngircd-ml/2020-June/000887.html
+
+--- a/src/testsuite/connect-ssl-cert2-test.e
++++ b/src/testsuite/connect-ssl-cert2-test.e
+@@ -1,6 +1,7 @@
+ # ngIRCd test suite
+ # Server connect test
+ 
++sleep 1
+ spawn openssl s_client -quiet -connect 127.0.0.1:6790
+ expect {
+         timeout { exit 1 }

+ 2 - 0
debian/patches/series

@@ -0,0 +1,2 @@
+# patches that should go upstream
+fix-race-in-testsuite.patch