git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reset environment for 4.72 development
[exim.git]
/
test
/
runtest
diff --git
a/test/runtest
b/test/runtest
index 6a4fb2b51f3c072d4f65373f7e53e81db0494a50..affd82ad485431bab84c5b2494256e4b18e08adf 100755
(executable)
--- a/
test/runtest
+++ b/
test/runtest
@@
-1,6
+1,6
@@
#! /usr/bin/perl -w
#! /usr/bin/perl -w
-# $Cambridge: exim/test/runtest,v 1.
28 2007/07/04 10:37:04 ph10
Exp $
+# $Cambridge: exim/test/runtest,v 1.
33 2009/11/23 13:22:05 nm4
Exp $
###############################################################################
# This is the controlling script for the "new" test suite for Exim. It should #
###############################################################################
# This is the controlling script for the "new" test suite for Exim. It should #
@@
-23,7
+23,7
@@
use Socket;
# Start by initializing some global variables
# Start by initializing some global variables
-$testversion = "4.
68 (16-Apr-07
)";
+$testversion = "4.
71 (23-Nov-09
)";
$cf = "bin/cf";
$cr = "\r";
$cf = "bin/cf";
$cr = "\r";
@@
-339,6
+339,9
@@
while(<IN>)
s/^\d+:error:/pppp:error:/;
s/:(?:\/[^\s:]+\/)?([^\/\s]+\.c):\d+:/:$1:dddd:/;
s/^\d+:error:/pppp:error:/;
s/:(?:\/[^\s:]+\/)?([^\/\s]+\.c):\d+:/:$1:dddd:/;
+ # There are differences in error messages between OpenSSL versions
+ s/SSL_CTX_set_cipher_list/SSL_connect/;
+
# One error test in expansions mentions base 62 or 36
s/is not a base (36|62) number/is not a base 36\/62 number/;
# One error test in expansions mentions base 62 or 36
s/is not a base (36|62) number/is not a base 36\/62 number/;
@@
-720,6
+723,10
@@
while(<IN>)
s/\bgethostbyname2?|\bgetipnodebyname/get[host|ipnode]byname[2]/;
s/\bgethostbyname2?|\bgetipnodebyname/get[host|ipnode]byname[2]/;
+ # drop gnutls version strings
+ next if /GnuTLS compile-time version: \d+[\.\d]+$/;
+ next if /GnuTLS runtime version: \d+[\.\d]+$/;
+
# We have to omit the localhost ::1 address so that all is well in
# the IPv4-only case.
# We have to omit the localhost ::1 address so that all is well in
# the IPv4-only case.
@@
-727,6
+734,9
@@
while(<IN>)
if (/looked up these IP addresses/);
next if /name=localhost address=::1/;
if (/looked up these IP addresses/);
next if /name=localhost address=::1/;
+ # drop pdkim debugging header
+ next if /^PDKIM <<<<<<<<<<<<<<<<<<<<<<<<<<<<<+$/;
+
# Various other IPv6 lines must be omitted too
next if /using host_fake_gethostbyname for \S+ \(IPv6\)/;
# Various other IPv6 lines must be omitted too
next if /using host_fake_gethostbyname for \S+ \(IPv6\)/;
@@
-909,7
+919,7
@@
if (! -e $sf)
print "\n";
print "------------ $f -----------\n"
if (defined $rf && -s $rf && defined $rsf && -s $rsf);
print "\n";
print "------------ $f -----------\n"
if (defined $rf && -s $rf && defined $rsf && -s $rsf);
- system("$more
$f
");
+ system("$more
'$f'
");
}
}
}
}
@@
-1023,7
+1033,7
@@
if (-e $sf)
# Do the comparison
# Do the comparison
- return 0 if (system("$cf
$mf $sf
>test-cf") == 0);
+ return 0 if (system("$cf
'$mf' '$sf'
>test-cf") == 0);
# Handle comparison failure
# Handle comparison failure
@@
-1043,7
+1053,7
@@
if (-e $sf)
# Update or delete the saved file, and give the appropriate return code.
if (-s $mf)
# Update or delete the saved file, and give the appropriate return code.
if (-s $mf)
- { tests_exit(-1, "Failed to cp $mf $sf") if system("cp
$mf $sf
") != 0; }
+ { tests_exit(-1, "Failed to cp $mf $sf") if system("cp
'$mf' '$sf'
") != 0; }
else
{ tests_exit(-1, "Failed to unlink $sf") if !unlink($sf); }
else
{ tests_exit(-1, "Failed to unlink $sf") if !unlink($sf); }