fix-race-in-testsuite.patch 493 B

123456789101112131415
  1. Subject: Fix race in testsuite
  2. Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
  3. Date: 2020-06-21
  4. Forwarded: https://lists.barton.de/mailman3/hyperkitty/list/ngircd@lists.barton.de/thread/T3RTKOP4YI7XOK5PQE4AGKALJ26KZ5KB/?noscript
  5. --- a/src/testsuite/connect-ssl-cert2-test.e
  6. +++ b/src/testsuite/connect-ssl-cert2-test.e
  7. @@ -1,6 +1,7 @@
  8. # ngIRCd test suite
  9. # Server connect test
  10. +sleep 1
  11. spawn openssl s_client -quiet -connect 127.0.0.1:6790
  12. expect {
  13. timeout { exit 1 }