Testsuite: tidying
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 29 Oct 2016 14:22:23 +0000 (15:22 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 29 Oct 2016 14:26:42 +0000 (15:26 +0100)
test/runtest

index 5cfe1906dd08c33a1bda679d2d27a6f42e30b939..96867ff3acf594c5798a31e9be58eb90a9e23f8b 100755 (executable)
@@ -1049,7 +1049,7 @@ RESET_AFTER_EXTRA_LINE_READ:
     if (s/( \{with \$received_protocol)}\} \$\{if def:tls_cipher \{\(\$tls_cipher\)\n$/$1/)
       {
       $_ .= <IN>;
-      s/\t(\}\}\{Exim)/$1/;
+      s/\s+(?=\}\}\{Exim)//;
       }
 
     # Not all platforms support TCP Fast Open, and the compile omits the check
@@ -1059,7 +1059,7 @@ RESET_AFTER_EXTRA_LINE_READ:
       s/ \.\.\. >>> / ... /;
       }
 
-    next if /^setsockopt FASTOPEN: Protocol not available$/;
+    next if /^(ppppp )?setsockopt FASTOPEN: Protocol not available$/;
 
     # When Exim is checking the size of directories for maildir, it uses
     # the check_dir_size() function to scan directories. Of course, the order