X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/b66eb2387fe955529001a76daab428d6dfb50c89..1145b1aea70658de9f7f85b03772bc06408c027a:/test/runtest?ds=sidebyside diff --git a/test/runtest b/test/runtest index b959107c1..29ea66a9f 100755 --- a/test/runtest +++ b/test/runtest @@ -2,6 +2,9 @@ # We use env, because in some environments of our build farm # the Perl 5.010 interpreter is only reachable via $PATH +# Copyright (c) The Exim Maintainers 2024 +# SPDX-License-Identifier: GPL-2.0-or-later + ############################################################################### # This is the controlling script for the "new" test suite for Exim. It should # # be possible to export this suite for running on a wide variety of hosts, in # @@ -1132,9 +1135,9 @@ RESET_AFTER_EXTRA_LINE_READ: # because they will be different in different binaries. next if /^$time_pid? - (?: Berkeley\ DB:\s - | Probably\ (?:Berkeley\ DB|ndbm|GDBM) - | Using\ tdb + (?: .*\sBerkeley\ DB + | \sProbably\ (?:Berkeley\ DB|ndbm|GDBM) + | \sUsing\ (?:tdb|sqlite3) | Authenticators: | Lookups(?:\(built-in\))?: | Support\ for: @@ -1281,6 +1284,9 @@ RESET_AFTER_EXTRA_LINE_READ: # We invoke Exim with -D, so we hit this new message as of Exim 4.73: next if /^macros_trusted overridden to true by whitelisting/; + # Hints-db writes seem to have variable sizes for values + s/ dbfn_write: key=.+ datalen \K\d+$/NNN/; + # We have to omit the localhost ::1 address so that all is well in # the IPv4-only case. @@ -1430,6 +1436,9 @@ RESET_AFTER_EXTRA_LINE_READ: # DISABLE_OCSP next if /in hosts_requ(est|ire)_ocsp\? (no|yes)/; + # WELLKNOWN + next if / in wellknown_advertise_hosts\?/; + # SUPPORT_PROXY next if /host in hosts_proxy\?/; @@ -1458,7 +1467,10 @@ RESET_AFTER_EXTRA_LINE_READ: next if / in limits_advertise_hosts?\? no \(matched "!\*"\)/; # Experimental_XCLIENT - next if / in hosts_xclient?\? no \(option unset\)/; + next if / in hosts_xclient\? no \(option unset\)/; + + # Experimental_WELLKNOWN + next if / in hosts_wellknown\? no \(option unset\)/; # TCP Fast Open next if /^(ppppp )?setsockopt FASTOPEN: Network Error/; @@ -3663,7 +3675,7 @@ while () } elsif (/^Support for: (.*)/) - { + { # Compile-time features - exim -bV print; @temp = split /(\s+)/, $1; push(@temp, ' '); @@ -4230,7 +4242,7 @@ DIR: for (my $i = 0; $i < @test_dirs; $i++) if (!defined $parm_malware{$1}) { $wantthis = 0; last; } } elsif (/^(not )?feature (.*)$/) - { + { #a macro name, or lack thereof - -bP macros # move to a subroutine? my $eximinfo = "$parm_exim -C $parm_cwd/test-config -DDIR=$parm_cwd -bP macro $2";