Testsuite: account for platforms not supporting TFO, redux
[users/heiko/exim.git] / test / runtest
index afaaee3b21e01d54ade86c90a21cb1bd2faee161..5360b3303c36d21941459b58a5e66c4ef7fc998c 100755 (executable)
@@ -1046,11 +1046,9 @@ RESET_AFTER_EXTRA_LINE_READ:
     s/^((?:spool|log) directory space =) -?\d+K (inodes =)\s*-?\d+/$1 nnnnnK $2 nnnnn/;
 
     # Not all platforms support TCP Fast Open, and the compile omits the check
-    if (/^((>>> )?Connecting to .* )in hosts_try_fastopen\? no \(option unset\)$/)
+    if (s/\S+ in hosts_try_fastopen\? no \(option unset\)\n$//)
       {
-      my $p = $1;
-      $_ = <IN>;
-      s/^/$p/;
+      $_ .= <IN>
       }
 
     # When Exim is checking the size of directories for maildir, it uses