Testsuite: better non-TFO-system debug handling
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 24 Nov 2019 19:02:57 +0000 (19:02 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 30 Nov 2019 16:21:34 +0000 (16:21 +0000)
test/runtest

index 541d62ac34ad4a39c275e3905035d7e111314eca..87c78070e45dd9a2f1aac88acf912deafbc4619c 100755 (executable)
@@ -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/;
       }