X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/1352e600b833220c32b8b02b9b38e22885e0db6d..4ed67f68df666fe38076e3bfd2183db71e742c7a:/test/runtest diff --git a/test/runtest b/test/runtest index befed03f6..fea40845c 100755 --- a/test/runtest +++ b/test/runtest @@ -1102,6 +1102,17 @@ RESET_AFTER_EXTRA_LINE_READ: next; } + # Non-TLS bulds have a different Recieved: header expansion + s/^((.*)\t}}}}by \$primary_hostname \${if def:received_protocol {with \$received_protocol }})\(Exim \$version_number\)$/$1\${if def:tls_in_cipher_std { tls \$tls_in_cipher_std\n$2\t}}(Exim \$version_number)/; + s/^((\s*).*considering: with \$received_protocol }})\(Exim \$version_number\)$/$1\${if def:tls_in_cipher_std { tls \$tls_in_cipher_std\n$2\t}}(Exim \$version_number)/; + if (/condition: def:tls_in_cipher_std$/) + { + $_= ; $_= ; $_= ; $_= ; + $_= ; $_= ; $_= ; $_= ; + $_= ; $_= ; $_= ; next; + } + + # Skip tls_advertise_hosts and hosts_require_tls checks when the options # are unset, because tls ain't always there. @@ -1276,8 +1287,8 @@ RESET_AFTER_EXTRA_LINE_READ: next if /in tls_resumption_hosts\?/; # Most builds are without HAVE_LOCAL_SCAN - next if /^calling local_scan(); timeout=300$/; - next if /^local_scan() returned 0 NULL$/; + next if /^calling local_scan\(\); timeout=300$/; + next if /^local_scan\(\) returned 0 NULL$/; # Platform differences in errno strings s/ SMTP\(Operation timed out\)<