summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-10-30 13:05:55 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-11-03 22:53:01 +0000
commit4a73f047f3ee48a7156cd6007da8d2dfc21f85a9 (patch)
treebd3302c973bce2aa4d0394e0e25dc2700e2fd39e /test
parent5bccccc70f6564afdc6fa0c64dafd0a073dfa451 (diff)
downloadexim4-4a73f047f3ee48a7156cd6007da8d2dfc21f85a9.tar.gz
Testsuite: fix munge of timestamp with timezone name
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest2
-rw-r--r--test/stderr/26204
2 files changed, 3 insertions, 3 deletions
diff --git a/test/runtest b/test/runtest
index df68ecd9b..3cc534c98 100755
--- a/test/runtest
+++ b/test/runtest
@@ -507,7 +507,7 @@ RESET_AFTER_EXTRA_LINE_READ:
# Date/time in logs and in one instance of a filter test
s/^\d{4}-\d\d-\d\d\s\d\d:\d\d:\d\d(\s[+-]\d\d\d\d)?\s/1999-03-02 09:44:33 /gx;
- s/^\d{4}-\d\d-\d\d\s\d\d:\d\d:\d\d\.\d{3}(\s[+-]\d\d\d\d)?\s/2017-07-30 18:51:05.712 /gx;
+ s/^\d{4}-\d\d-\d\d\s\d\d:\d\d:\d\d\.\d{3}(?:\s(?:[+-]\d\d\d\d|[A-Z]{2}T))?\s/2017-07-30 18:51:05.712 /gx;
s/^Logwrite\s"\d{4}-\d\d-\d\d\s\d\d:\d\d:\d\d/Logwrite "1999-03-02 09:44:33/gx;
# Date/time in syslog test
s/^SYSLOG:\s\'\K\d{4}-\d\d-\d\d\s\d\d:\d\d:\d\d\s/2017-07-30 18:51:05 /gx;
diff --git a/test/stderr/2620 b/test/stderr/2620
index 9f68b79d7..04646f15d 100644
--- a/test/stderr/2620
+++ b/test/stderr/2620
@@ -804,5 +804,5 @@ close PGSQL connection: (TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER
>>>>>>>>>>>>>>>> Exim pid=p1240 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
******** SERVER ********
-2017-07-30 18:51:05.712 BST [pppp] LOG: redirecting log output to logging collector process
-2017-07-30 18:51:05.712 BST [pppp] HINT: Future log output will appear in directory "log".
+2017-07-30 18:51:05.712 [pppp] LOG: redirecting log output to logging collector process
+2017-07-30 18:51:05.712 [pppp] HINT: Future log output will appear in directory "log".