[exim-cvs] Testsuite: better non-TFO-system debug handling

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Testsuite: better non-TFO-system debug handling
Gitweb: https://git.exim.org/exim.git/commitdiff/a3da0b8f1ed51351bb3a6eaed2146fae4eebd35b
Commit:     a3da0b8f1ed51351bb3a6eaed2146fae4eebd35b
Parent:     22c3450e246798a06554257dc227eaf7f9b48741
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Nov 24 19:02:57 2019 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Nov 30 16:21:34 2019 +0000


    Testsuite: better non-TFO-system debug handling
---
 test/runtest | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/test/runtest b/test/runtest
index 541d62a..87c7807 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1256,9 +1256,10 @@ RESET_AFTER_EXTRA_LINE_READ:
     # Not all platforms support TCP Fast Open, and the compile omits the check
     if (s/\S+ in hosts_try_fastopen\? (no \(option unset\)|yes \(matched "\*"\))\n$//)
       {
+      chomp;
       $_ .= <IN>;
       s/ \.\.\. >>> / ... /;
-      if (s/ non-TFO mode connection attempt to 224.0.0.0, 0 data\b$//) { $_ .= <IN>; }
+      if (s/ non-TFO mode connection attempt to 224.0.0.0, 0 data\b$//) { chomp; $_ .= <IN>; }
       s/Address family not supported by protocol family/Network Error/;
       s/Network is unreachable/Network Error/;
       }