summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-06-17 14:38:02 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-06-17 14:38:02 +0100
commite7c3638eeaa194613d5c551382aded17da9b2be0 (patch)
treec473599ee4c6c428dcddbe30c31c70b535b8ad74 /test/runtest
parent4da19af657ed2687d20c1eb8cf85a66a70804e2d (diff)
downloadexim4-e7c3638eeaa194613d5c551382aded17da9b2be0.tar.gz
Testsuite: port numbers
Diffstat (limited to 'test/runtest')
-rwxr-xr-xtest/runtest8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/runtest b/test/runtest
index 8200a2cd6..9fef60820 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1095,6 +1095,14 @@ RESET_AFTER_EXTRA_LINE_READ:
# we don't care what TZ enviroment the testhost was running
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/;
+
# ========= Exim lookups ==================
# Lookups have a char which depends on the number of lookup types compiled in,
# in stderr output. Replace with a "0". Recognising this while avoiding