[exim-cvs] Testsuite: increase default "client" utility conn…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Testsuite: increase default "client" utility connect timeout from 1 to 5 seconds
Gitweb: http://git.exim.org/exim.git/commitdiff/d528a3894061e5a6b77b25cb16355cca8f1714dd
Commit:     d528a3894061e5a6b77b25cb16355cca8f1714dd
Parent:     9ff403f8e6b47bf94896eea173780375f49689ff
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Oct 26 17:48:33 2014 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Oct 26 17:48:33 2014 +0000


    Testsuite: increase default "client" utility connect timeout from 1 to 5 seconds
---
 test/scripts/0000-Basic/0035 |    6 +++---
 test/src/client.c            |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/test/scripts/0000-Basic/0035 b/test/scripts/0000-Basic/0035
index d0805bd..147c8e7 100644
--- a/test/scripts/0000-Basic/0035
+++ b/test/scripts/0000-Basic/0035
@@ -3,7 +3,7 @@ need_ipv4
#
exim -DSERVER=server -bd -oX PORT_D
****
-client -t5 127.0.0.1 PORT_D
+client 127.0.0.1 PORT_D
??? 220
ehlo rhu.barb
??? 250-
@@ -61,7 +61,7 @@ killdaemon
millisleep 500
exim -DSERVER=server -DSUBMISSION_OPTIONS=/domain=a.b.c/sender_retain -bd -oX PORT_D
****
-client -t5 127.0.0.1 PORT_D
+client 127.0.0.1 PORT_D
??? 220
ehlo rhu.barb
??? 250-
@@ -86,7 +86,7 @@ killdaemon
millisleep 500
exim -DSERVER=server -DSUBMISSION_OPTIONS=/domain=a.b.c/name=SomeName -bd -oX PORT_D
****
-client -t5 127.0.0.1 PORT_D
+client 127.0.0.1 PORT_D
??? 220
ehlo rhu.barb
??? 250-
diff --git a/test/src/client.c b/test/src/client.c
index 4efe43f..614c2c5 100644
--- a/test/src/client.c
+++ b/test/src/client.c
@@ -489,7 +489,7 @@ char *keyfile = NULL;
char *end = NULL;
int argi = 1;
int host_af, port, s_len, rc, sock, save_errno;
-int timeout = 1;
+int timeout = 5;
int tls_active = 0;
int sent_starttls = 0;
int tls_on_connect = 0;