git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testsuite: quietening
[users/jgh/exim.git]
/
test
/
runtest
diff --git
a/test/runtest
b/test/runtest
index 157ff050a62622a9b9ea0ba8831cab7e3920ca62..fbc4fc484f3cdc3f9cf63df7e19fd8bb20792669 100755
(executable)
--- a/
test/runtest
+++ b/
test/runtest
@@
-83,6
+83,10
@@
$parm_port_d4 = 1228; # Additional for daemon
# Manually set locale
$ENV{'LC_ALL'} = 'C';
# Manually set locale
$ENV{'LC_ALL'} = 'C';
+# In some environments USER does not exists, but we
+# need it for some test(s)
+$ENV{USER} = getpwuid($>)
+ if not exists $ENV{USER};
###############################################################################
###############################################################################
@@
-871,7
+875,7
@@
RESET_AFTER_EXTRA_LINE_READ:
# IP address lookups use gethostbyname() when IPv6 is not supported,
# and gethostbyname2() or getipnodebyname() when it is.
# IP address lookups use gethostbyname() when IPv6 is not supported,
# and gethostbyname2() or getipnodebyname() when it is.
- s/\b
gethostbyname2?|\bgetipnodebyname
/get[host|ipnode]byname[2]/;
+ s/\b
(gethostbyname2?|\bgetipnodebyname)(\(af=inet\))?
/get[host|ipnode]byname[2]/;
# drop gnutls version strings
next if /GnuTLS compile-time version: \d+[\.\d]+$/;
# drop gnutls version strings
next if /GnuTLS compile-time version: \d+[\.\d]+$/;
@@
-1371,6
+1375,12
@@
$munges =
'delay_1500' =>
{ 'stderr' => 's/(1[5-9]|23\d)\d\d msec/ssss msec/' },
'delay_1500' =>
{ 'stderr' => 's/(1[5-9]|23\d)\d\d msec/ssss msec/' },
+ 'tls_anycipher' =>
+ { 'mainlog' => 's/ X=TLS\S+ / X=TLS_proto_and_cipher /' },
+
+ 'debug_pid' =>
+ { 'stderr' => 's/\d{1,5}/ppppp/g' },
+
};
};