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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] Testsuite: better non-TFO-system debug handling
Gitweb: https://git.exim.org/exim.git/commitdiff/52236390cb37864f3a17bc922ee358138655df44
Commit:     52236390cb37864f3a17bc922ee358138655df44
Parent:     bda253e55534a96a3c1fd9747121c46e6507ed32
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Nov 24 19:02:57 2019 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Nov 24 19:02:57 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 1215e61..d9cb51d 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1247,9 +1247,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/;
       }