summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-11-15 19:06:00 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-11-15 19:06:00 +0000
commit6678a497928ce105c4bce21c4d2eba4b3ecd4259 (patch)
tree597ce737bbf8883965d6c907089312841f572a59
parent626810b928939e375f83b0f234a854d69339227c (diff)
Testsuite: better debug output from "server" script-runner
-rw-r--r--test/scripts/2100-OpenSSL/21022
-rw-r--r--test/src/server.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/scripts/2100-OpenSSL/2102 b/test/scripts/2100-OpenSSL/2102
index 374f3a27f..3904c5098 100644
--- a/test/scripts/2100-OpenSSL/2102
+++ b/test/scripts/2100-OpenSSL/2102
@@ -5,7 +5,7 @@
# As a result the expansion done and logged is misleading.
#
# Make RSA authentication the only acceptable
-exim -d-all+tls -DSERVER=server -DORDER=RSA -bd -oX PORT_D
+exim -DSERVER=server -DORDER=RSA -bd -oX PORT_D
****
client-ssl 127.0.0.1 PORT_D
??? 220
diff --git a/test/src/server.c b/test/src/server.c
index 5af86d96f..d433ebe0e 100644
--- a/test/src/server.c
+++ b/test/src/server.c
@@ -401,7 +401,7 @@ else
sin6.sin6_addr = anyaddr6;
if (bind(listen_socket[i], (struct sockaddr *)&sin6, sizeof(sin6)) < 0)
{
- printf("IPv6 socket bind() failed: %s\n", strerror(errno));
+ printf("IPv6 socket bind(port %d) failed: %s\n", port, strerror(errno));
exit(1);
}
}
@@ -420,7 +420,7 @@ else
if (bind(listen_socket[i], (struct sockaddr *)&sin4, sizeof(sin4)) < 0)
if (listen_socket[v6n] < 0 || errno != EADDRINUSE)
{
- printf("IPv4 socket bind() failed: %s\n", strerror(errno));
+ printf("IPv4 socket bind(port %d) failed: %s\n", port, strerror(errno));
exit(1);
}
else