Reinstate tests that only work with 64-bit time_t

This commit is contained in:
Dianne Skoll
2023-10-08 18:09:34 -04:00
parent ae64961735
commit 63eba104d9
3 changed files with 13 additions and 10 deletions

View File

@@ -32,11 +32,10 @@ MSG June Equinox 2030 is [localtoutc(soleq(1,2030))] UTC
MSG September Solstice 2030 is [localtoutc(soleq(2,2030))] UTC
MSG December Equinox 2030 is [localtoutc(soleq(3,2030))] UTC
# 2050 breaks on 32-bit systems. :(
#MSG March Solstice 2050 is [localtoutc(soleq(0,2050))] UTC
#MSG June Equinox 2050 is [localtoutc(soleq(1,2050))] UTC
#MSG September Solstice 2050 is [localtoutc(soleq(2,2050))] UTC
#MSG December Equinox 2050 is [localtoutc(soleq(3,2050))] UTC
MSG March Solstice 2050 is [localtoutc(soleq(0,2050))] UTC
MSG June Equinox 2050 is [localtoutc(soleq(1,2050))] UTC
MSG September Solstice 2050 is [localtoutc(soleq(2,2050))] UTC
MSG December Equinox 2050 is [localtoutc(soleq(3,2050))] UTC
MSG Next March Solstice is [localtoutc(soleq(0))] UTC
MSG Next June Equinox is [localtoutc(soleq(1))] UTC

View File

@@ -403,7 +403,7 @@ EOF
TZ=America/Toronto ../src/remind -dxe ../tests/tz.rem >> ../tests/test.out 2>&1
TZ=Europe/Berlin ../src/remind -dxe ../tests/tz.rem >> ../tests/test.out 2>&1
../src/remind ../tests/soleq.rem 1 April 2029 >> ../tests/test.out 2>&1
../src/remind ../tests/soleq.rem 1 April 2044 >> ../tests/test.out 2>&1
# Test that banner is printed on every iteration
echo "MSG Should be three banners." | ../src/remind - 2022-10-20 '*3' >> ../tests/test.out 2>&1

View File

@@ -11650,10 +11650,14 @@ March Solstice 2030 is 2030-03-20@13:53 UTC
June Equinox 2030 is 2030-06-21@07:32 UTC
September Solstice 2030 is 2030-09-22@23:28 UTC
December Equinox 2030 is 2030-12-21@20:10 UTC
Next March Solstice is 2030-03-20@13:53 UTC
Next June Equinox is 2029-06-21@01:49 UTC
Next September Solstice is 2029-09-22@17:39 UTC
Next December Equinox is 2029-12-21@14:15 UTC
March Solstice 2050 is 2050-03-20@10:21 UTC
June Equinox 2050 is 2050-06-21@03:34 UTC
September Solstice 2050 is 2050-09-22@19:29 UTC
December Equinox 2050 is 2050-12-21@16:39 UTC
Next March Solstice is 2045-03-20@05:08 UTC
Next June Equinox is 2044-06-20@16:51 UTC
Next September Solstice is 2044-09-22@08:49 UTC
Next December Equinox is 2044-12-21@05:45 UTC
Reminders for Thursday, 20th October, 2022:
Should be three banners.