summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-06-09 23:00:39 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-06-09 23:25:08 +0100
commitb1cf8494dae6c2a6be188f056565b4ff9893a55e (patch)
treede6ce4bfc7abc1df9edbdbf654b17dd56144f622 /test
parent4af1b6cad6bbf0856e07cc99ab09257be652b819 (diff)
Testsuite: less agressive PID-hiding
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest5
-rw-r--r--test/stderr/060960
2 files changed, 34 insertions, 31 deletions
diff --git a/test/runtest b/test/runtest
index fbc4fc484..fcc7a972e 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1019,6 +1019,9 @@ RESET_AFTER_EXTRA_LINE_READ:
@saved = ();
}
+ # remote port numbers vary
+ s/(Connection request from 127.0.0.1 port) \d{1,5}/$1 sssss/;
+
# Skip hosts_require_dane checks when the options
# are unset, because dane ain't always there.
@@ -1379,7 +1382,7 @@ $munges =
{ 'mainlog' => 's/ X=TLS\S+ / X=TLS_proto_and_cipher /' },
'debug_pid' =>
- { 'stderr' => 's/\d{1,5}/ppppp/g' },
+ { 'stderr' => 's/(^\s{0,4}|(?<=Process )|(?<=child ))\d{1,5}/ppppp/g' },
};
diff --git a/test/stderr/0609 b/test/stderr/0609
index 99a047537..be6514446 100644
--- a/test/stderr/0609
+++ b/test/stderr/0609
@@ -4,49 +4,49 @@ Exim version x.yz ....
configuration file is TESTSUITE/test-config
admin user
ppppp daemon_smtp_port overridden by -oX:
-ppppp <: ppppp
-ppppp listening on all interfaces (IPvppppp) port ppppp
+ppppp <: 1225
+ppppp listening on all interfaces (IPv4) port 1225
ppppp pid written to TESTSUITE/spool/exim-daemon.pid
ppppp LOG: MAIN
-ppppp exim x.yz daemon started: pid=ppppp, no queue runs, listening for SMTP on port ppppp (IPvppppp)
-ppppp daemon running with uid=ppppp gid=ppppp euid=ppppp egid=ppppp
+ppppp exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port 1225
+ppppp daemon running with uid=EXIM_UID gid=EXIM_GID euid=EXIM_UID egid=EXIM_GID
ppppp Listening...
-ppppp Connection request from ppppp.ppppp.ppppp.ppppp port ppppp
+ppppp Connection request from 127.0.0.1 port sssss
ppppp LOG: smtp_connection MAIN
-ppppp SMTP connection from [ppppp.ppppp.ppppp.ppppp] (TCP/IP connection count = ppppp)
-ppppp ppppp SMTP accept process running
+ppppp SMTP connection from [127.0.0.1] (TCP/IP connection count = 1)
+ppppp 1 SMTP accept process running
ppppp Listening...
-ppppp Process ppppp is handling incoming connection from [ppppp.ppppp.ppppp.ppppp]
+ppppp Process ppppp is handling incoming connection from [127.0.0.1]
ppppp Process ppppp is ready for new message
-ppppp using ACL "delayppppp_accept"
+ppppp using ACL "delay4_accept"
ppppp processing "accept"
-ppppp check delay = ppppps
-ppppp delay modifier requests ppppp-second delay
-ppppp accept: condition test succeeded in ACL "delayppppp_accept"
-ppppp end of ACL "delayppppp_accept": ACCEPT
+ppppp check delay = 4s
+ppppp delay modifier requests 4-second delay
+ppppp accept: condition test succeeded in ACL "delay4_accept"
+ppppp end of ACL "delay4_accept": ACCEPT
ppppp LOG: smtp_connection MAIN
-ppppp SMTP connection from [ppppp.ppppp.ppppp.ppppp] closed by QUIT
-ppppp child ppppp ended: status=pppppxppppp
-ppppp normal exit, ppppp
-ppppp ppppp SMTP accept processes now running
+ppppp SMTP connection from [127.0.0.1] closed by QUIT
+ppppp child ppppp ended: status=0x0
+ppppp normal exit, 0
+ppppp 0 SMTP accept processes now running
ppppp Listening...
-ppppp Connection request from ppppp.ppppp.ppppp.ppppp port ppppp
+ppppp Connection request from 127.0.0.1 port sssss
ppppp LOG: smtp_connection MAIN
-ppppp SMTP connection from [ppppp.ppppp.ppppp.ppppp] (TCP/IP connection count = ppppp)
-ppppp ppppp SMTP accept process running
+ppppp SMTP connection from [127.0.0.1] (TCP/IP connection count = 1)
+ppppp 1 SMTP accept process running
ppppp Listening...
-ppppp Process ppppp is handling incoming connection from [ppppp.ppppp.ppppp.ppppp]
+ppppp Process ppppp is handling incoming connection from [127.0.0.1]
ppppp Process ppppp is ready for new message
-ppppp using ACL "delayppppp_accept"
+ppppp using ACL "delay4_accept"
ppppp processing "accept"
-ppppp check delay = ppppps
-ppppp delay modifier requests ppppp-second delay
+ppppp check delay = 4s
+ppppp delay modifier requests 4-second delay
ppppp delay cancelled by peer close
-ppppp accept: condition test succeeded in ACL "delayppppp_accept"
-ppppp end of ACL "delayppppp_accept": ACCEPT
+ppppp accept: condition test succeeded in ACL "delay4_accept"
+ppppp end of ACL "delay4_accept": ACCEPT
ppppp LOG: lost_incoming_connection MAIN
-ppppp unexpected disconnection while reading SMTP command from [ppppp.ppppp.ppppp.ppppp]
-ppppp child ppppp ended: status=pppppxppppp
-ppppp normal exit, ppppp
-ppppp ppppp SMTP accept processes now running
+ppppp unexpected disconnection while reading SMTP command from [127.0.0.1]
+ppppp child ppppp ended: status=0x100
+ppppp normal exit, 1
+ppppp 0 SMTP accept processes now running
ppppp Listening...