Three more tests fail in parallel 'make check'. The attached patch fixes
all three.

Regards, Tim
From 70a0266e1255acfe23bc344a87d5e5451c7ed4ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.rueh...@gmx.de>
Date: Tue, 28 May 2019 10:49:15 +0200
Subject: [PATCH] Fix more 'address already in use' issues

---
 src/testcurl/https/test_https_sni.c          | 2 +-
 src/testcurl/https/test_tls_authentication.c | 2 +-
 src/testcurl/https/test_tls_options.c        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/testcurl/https/test_https_sni.c b/src/testcurl/https/test_https_sni.c
index 8af1472b..4d1cc705 100644
--- a/src/testcurl/https/test_https_sni.c
+++ b/src/testcurl/https/test_https_sni.c
@@ -261,7 +261,7 @@ main (int argc, char *const *argv)
   if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT))
     port = 0;
   else
-    port = 3060;
+    port = 3061;
 
 #ifdef MHD_HTTPS_REQUIRE_GRYPT
   gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
diff --git a/src/testcurl/https/test_tls_authentication.c b/src/testcurl/https/test_tls_authentication.c
index 2ed8f14c..28702710 100644
--- a/src/testcurl/https/test_tls_authentication.c
+++ b/src/testcurl/https/test_tls_authentication.c
@@ -51,7 +51,7 @@ test_secure_get (void * cls, char *cipher_suite, int proto_version)
   if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT))
     port = 0;
   else
-    port = 3070;
+    port = 3071;
 
   d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_TLS |
                         MHD_USE_ERROR_LOG, port,
diff --git a/src/testcurl/https/test_tls_options.c b/src/testcurl/https/test_tls_options.c
index 703ae92a..cc335049 100644
--- a/src/testcurl/https/test_tls_options.c
+++ b/src/testcurl/https/test_tls_options.c
@@ -96,7 +96,7 @@ main (int argc, char *const *argv)
   if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT))
     port = 0;
   else
-    port = 3010;
+    port = 3011;
 
 #ifdef MHD_HTTPS_REQUIRE_GRYPT
   gcry_control (GCRYCTL_DISABLE_SECMEM, 0);
-- 
2.20.1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to