[exim-cvs] Testsuite: account for hostname-dependent output …

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Testsuite: account for hostname-dependent output in debug output
Gitweb: https://git.exim.org/exim.git/commitdiff/fc1c08204f41dc2ac4200677c2c60c6fe6c5c3b7
Commit:     fc1c08204f41dc2ac4200677c2c60c6fe6c5c3b7
Parent:     e462483c2acf9ecc99e993cc9b73c1aed3ab994a
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Nov 11 18:30:22 2018 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Nov 11 18:36:50 2018 +0000


    Testsuite: account for hostname-dependent output in debug output
---
 test/runtest     | 4 ++--
 test/stderr/4052 | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/test/runtest b/test/runtest
index f90643c..62d49ad 100755
--- a/test/runtest
+++ b/test/runtest
@@ -476,7 +476,7 @@ RESET_AFTER_EXTRA_LINE_READ:
# more_errno values in exim_dumpdb output which are times
s/T:(\S+)\s-22\s(\S+)\s/T:$1 -22 xxxx /;

- # port numbers
+ # port numbers in dumpdb output
s/T:([a-z.]+(:[0-9.]+)?):$parm_port_n /T:$1:PORT_N /;


@@ -1166,8 +1166,8 @@ RESET_AFTER_EXTRA_LINE_READ:
       s/Address family not supported by protocol family/Network Error/;
       s/Network is unreachable/Network Error/;
       }
-
     next if /^(ppppp )?setsockopt FASTOPEN: Protocol not available$/;
+    s/^(Connecting to .* \.\.\. sending) \d+ (nonTFO early-data)$/$1 dd $2/;


     # Specific pointer values reported for DB operations change from run to run
     s/^(\s*returned from EXIM_DBOPEN: )(0x)?[0-9a-f]+/${1}0xAAAAAAAA/;
diff --git a/test/stderr/4052 b/test/stderr/4052
index 35739f1..64f8b9e 100644
--- a/test/stderr/4052
+++ b/test/stderr/4052
@@ -28,7 +28,7 @@ not using DSN
   SMTP>> RCPT TO:<extchange@???>
   SMTP>> DATA
 cmd buf flush ddd bytes
-Connecting to 127.0.0.1 [127.0.0.1]:1225 ... sending 87 nonTFO early-data
+Connecting to 127.0.0.1 [127.0.0.1]:1225 ... sending dd nonTFO early-data
 connected
 smtp_reap_early_pipe expect banner
   SMTP<< 220 banner