Testsuite: fix munge of timestamp with timezone name
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 30 Oct 2022 13:05:55 +0000 (13:05 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Thu, 3 Nov 2022 22:53:01 +0000 (22:53 +0000)
test/runtest
test/stderr/2620

index df68ecd9b30f0ce196a2d4a75722374d28860fb9..3cc534c983f3da68f46efd1f0e51817890bbfd5c 100755 (executable)
@@ -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;
index 9f68b79d717b25c0213cc70a9eab121e505cc0ac..04646f15d1f73bf11881781211c5fe2413e363a0 100644 (file)
@@ -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".