From 0e20cde8dbd0ad7308a972bca06d38a817aeb23b Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Wed, 5 Jul 2023 12:11:35 +0100 Subject: Testsuite: Use TZ-GMT rather than GB for far-future dates Older systems seem to not have dst info for year 3002 and give a GMT result for TZ=GB --- test/scripts/0000-Basic/0700 | 52 ++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'test/scripts') diff --git a/test/scripts/0000-Basic/0700 b/test/scripts/0000-Basic/0700 index df5162f31..7bc8671df 100644 --- a/test/scripts/0000-Basic/0700 +++ b/test/scripts/0000-Basic/0700 @@ -43,14 +43,14 @@ exim_msgdate E000000-005XGK-00 1pAnS3-003fPj-Tw zzzzzz 0 TZ=GB exim_msgdate --base36 000000-005XGK-00 **** -0 TZ=GB +0 TZ=GMT exim_msgdate --base36 ZZZZZZ-005XGK-RR **** 255 TZ=GB exim_msgdate --base36 zzzzzz-005xgk-zz **** ### An invalid base option -255 TZ=GB +255 TZ=GMT exim_msgdate --base 32 ZZZZZZ **** ### Message IDs generated on a standard system @@ -58,7 +58,7 @@ exim_msgdate --base 32 ZZZZZZ 0 TZ=GB exim_msgdate --base62 000000-005XGK-00 **** -0 TZ=GB +0 TZ=GMT exim_msgdate --base62 ZZZZZZ-005XGK-WF **** 0 TZ=GB @@ -94,7 +94,7 @@ exim_msgdate -GMT E1pAnS3-003fPj-Tw 0 TZ=GB exim_msgdate -zulu E1pAnS3-003fPj-Tw **** -0 TZ=GB +0 TZ=GMT exim_msgdate -zulu EZZZZZZ-003fPj-WF **** ### Print date as seconds since the UNIX epoch. @@ -108,38 +108,38 @@ exim_msgdate -unix E1pAnS3-003fPj-WF exim_msgdate -unix Ezzzzzz-003fpj-WF **** ### Show the process id too -0 TZ=GB +0 TZ=GMT exim_msgdate -unix --pid EZZZZZZ-003fPj-WF **** -0 TZ=GB +0 TZ=GMT exim_msgdate -pid EZZZZZZ-003fPj-WF **** -0 TZ=GB +0 TZ=GMT exim_msgdate -local --pid EZZZZZZ-003fPj-WF **** ### Override the value of localhost_number set in the exim configuation file -0 TZ=GB +0 TZ=GMT exim_msgdate -local --localhost_number 9 -base 62 EZZZZZZ-003FPJ-WF **** -0 TZ=GB +0 TZ=GMT exim_msgdate --localhost_number 9 -base 62 EZZZZZZ-003FPJ-WF **** -0 TZ=GB +0 TZ=GMT exim_msgdate --localhost_number 9 -base 36 EZZZZZZ-003FPJ-Q0 **** # hostno too big -255 TZ=GB +255 TZ=GMT exim_msgdate --localhost_number 11 -base 36 EZZZZZZ-003FPJ-WF **** -0 TZ=GB +0 TZ=GMT exim_msgdate -localhost_number 9 --local -base 62 EZZZZZZ-003FPJ-WF **** # hostno negative -255 TZ=GB +255 TZ=GMT exim_msgdate --localhost_number -1 -base 36 EZZZZZZ-003FPJ-WF **** # hostno too big -255 TZ=GB +255 TZ=GMT exim_msgdate --localhost_number 19 -base 62 EZZZZZZ-003FPJ-WF **** # @@ -151,77 +151,77 @@ exim_msgdate --localhost_number 19 -base 62 EZZZZZZ-003FPJ-WF 0 TZ=GB exim_msgdate -l -u -z -pid E000000-005XGK-00 **** -0 TZ=GB +0 TZ=GMT exim_msgdate -l -u -z -pid 000000-005XGK-00 ZZZZZZ-005XGK-WF 1PANS3-003FPJ-TW **** 0 TZ=GB exim_msgdate -l -u -z -pid 000000 1PANS3 zzzzzz **** -0 TZ=GB +0 TZ=GMT exim_msgdate -l -u -z -pid 000000 1PANS3 ZZZZZZ **** ### All msg-id types, all zones, localhost_number = 3 0 TZ=GB exim_msgdate -l -u -z -localhost_number=3 E000000-005XGK-00 **** -0 TZ=GB +0 TZ=GMT exim_msgdate -l -u -z -localhost_number=3 000000-005XGK-00 ZZZZZZ-005XGK-zz 1PANS3-003FPJ-TW **** 0 TZ=GB exim_msgdate -l -u -z -localhost_number=3 000000 1PANS3 zzzzzz **** -0 TZ=GB +0 TZ=GMT exim_msgdate -l -u -z -localhost_number=3 000000 1PANS3 ZZZZZZ **** ### All msg-id types, all zones, localhost_number = 13 0 TZ=GB exim_msgdate -l -u -z -localhost_number=13 E000000-005XGK-00 **** -0 TZ=GB +0 TZ=GMT exim_msgdate -l -u -z -localhost_number=13 000000-005XGK-00 ZZZZZZ-005XGK-zz 1PANS3-003FPJ-TW **** 0 TZ=GB exim_msgdate -l -u -z -localhost_number=13 000000 1PANS3 zzzzzz **** -0 TZ=GB +0 TZ=GMT exim_msgdate -l -u -z -localhost_number=13 000000 1PANS3 ZZZZZZ **** ### All msg-id types, all zones, localhost_number = 20 255 TZ=GB exim_msgdate -l -u -z -localhost_number=20 E000000-005XGK-00 **** -255 TZ=GB +255 TZ=GMT exim_msgdate -l -u -z -localhost_number=20 000000-005XGK-00 ZZZZZZ-005XGK-zz 1PANS3-003FPJ-TW **** 255 TZ=GB exim_msgdate -l -u -z -localhost_number=20 000000 1PANS3 zzzzzz **** -255 TZ=GB +255 TZ=GMT exim_msgdate -l -u -z -localhost_number=20 000000 1PANS3 ZZZZZZ **** ### All msg-id types, all zones, base=36 0 TZ=GB exim_msgdate -l -u -z --b36 E000000-005XGK-00 **** -0 TZ=GB +0 TZ=GMT exim_msgdate -l -u -z --b36 000000-005XGK-00 ZZZZZZ-005XGK-R0 1PANS3-003FPJ-RR **** 255 TZ=GB exim_msgdate -l -u -z --b36 000000 1PANS3 zzzzzz **** -0 TZ=GB +0 TZ=GMT exim_msgdate -l -u -z --b36 000000 1PANS3 ZZZZZZ **** ### All msg-id types, all zones, base=62 0 TZ=GB exim_msgdate -l -u -z --b62 E000000-005XGK-00 **** -0 TZ=GB +0 TZ=GMT exim_msgdate -l -u -z --b62 000000-005XGK-00 ZZZZZZ-005XGK-WF 1PANS3-003FPJ-TW **** 0 TZ=GB exim_msgdate -l -u -z --b62 000000 1PANS3 zzzzzz **** -0 TZ=GB +0 TZ=GMT exim_msgdate -l -u -z --b62 000000 1PANS3 ZZZZZZ **** -- cgit v1.2.3