summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-06-17 20:37:44 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-06-17 20:37:44 +0100
commit3bfdf0f1f1d7a1bb6e9c3e4c6af8d1117dd13955 (patch)
tree0a5a1c7782804b2397948ace99b8e1d4f3d7776f /test/runtest
parente7c3638eeaa194613d5c551382aded17da9b2be0 (diff)
Testsuite: pid & port numbers
Diffstat (limited to 'test/runtest')
-rwxr-xr-xtest/runtest12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/runtest b/test/runtest
index 9fef60820..6fa17f9dc 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1096,12 +1096,12 @@ RESET_AFTER_EXTRA_LINE_READ:
next if /^Reset TZ to/;
# port numbers
- s/(?:\[[^\]]*\]:|port )\K$parm_port_d/PORT_D/;
- s/(?:\[[^\]]*\]:|port )\K$parm_port_d2/PORT_D2/;
- s/(?:\[[^\]]*\]:|port )\K$parm_port_d3/PORT_D3/;
- s/(?:\[[^\]]*\]:|port )\K$parm_port_d4/PORT_D4/;
- s/(?:\[[^\]]*\]:|port )\K$parm_port_s/PORT_S/;
- s/(?:\[[^\]]*\]:|port )\K$parm_port_n/PORT_N/;
+ s/(?:\[[^\]]*\]:|V4NET\.0\.0\.0:|localhost::?|127\.0\.0\.1[.:]:?|port[= ])\K$parm_port_d/PORT_D/;
+ s/(?:\[[^\]]*\]:|V4NET\.0\.0\.0:|localhost::?|127\.0\.0\.1[.:]:?|port[= ])\K$parm_port_d2/PORT_D2/;
+ s/(?:\[[^\]]*\]:|V4NET\.0\.0\.0:|localhost::?|127\.0\.0\.1[.:]:?|port[= ])\K$parm_port_d3/PORT_D3/;
+ s/(?:\[[^\]]*\]:|V4NET\.0\.0\.0:|localhost::?|127\.0\.0\.1[.:]:?|port[= ])\K$parm_port_d4/PORT_D4/;
+ s/(?:\[[^\]]*\]:|V4NET\.0\.0\.0:|localhost::?|127\.0\.0\.1[.:]:?|port[= ])\K$parm_port_s/PORT_S/;
+ s/(?:\[[^\]]*\]:|V4NET\.0\.0\.0:|localhost::?|127\.0\.0\.1[.:]:?|port[= ])\K$parm_port_n/PORT_N/;
# ========= Exim lookups ==================
# Lookups have a char which depends on the number of lookup types compiled in,