mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-30 18:18:13 +00:00
Mideast spring forward
SCCS-file: TESTS SCCS-SID: 2.3
This commit is contained in:
committed by
Paul Eggert
parent
5172443dcd
commit
0daa6ff220
@@ -10,7 +10,7 @@ cd try
|
|||||||
|
|
||||||
make date right_only TZDIR=zoneinfo CFLAGS="-g -DEBUG $*"
|
make date right_only TZDIR=zoneinfo CFLAGS="-g -DEBUG $*"
|
||||||
|
|
||||||
set -x
|
set -v
|
||||||
|
|
||||||
# US/Eastern tests
|
# US/Eastern tests
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ export TZ
|
|||||||
# Far future times
|
# Far future times
|
||||||
./date 200103022007.44
|
./date 200103022007.44
|
||||||
./date 210103022007.44
|
./date 210103022007.44
|
||||||
# Far past time
|
# Far past time--only legal as USG-style
|
||||||
./date 0103022007.44
|
./date 0103022007.44
|
||||||
# Ambiguous, BSD vs. USG
|
# Ambiguous, BSD vs. USG
|
||||||
./date 0203040506
|
./date 0203040506
|
||||||
@@ -67,8 +67,12 @@ export TZ
|
|||||||
# Right leap second
|
# Right leap second
|
||||||
./date 198712311859.60
|
./date 198712311859.60
|
||||||
# Mideast Madness
|
# Mideast Madness
|
||||||
|
# Should get an "ambiguous time" message
|
||||||
TZ=Mideast/Riyadh89 ./date 198906011200
|
TZ=Mideast/Riyadh89 ./date 198906011200
|
||||||
|
# Should get a "spring forward" message
|
||||||
|
TZ=Mideast/Riyadh89 ./date 198903011159.59
|
||||||
# British Balminess
|
# British Balminess
|
||||||
|
# Should get an "ambiguous time" message
|
||||||
TZ=GB-Eire ./date 197110310030
|
TZ=GB-Eire ./date 197110310030
|
||||||
# Wrong content
|
# Wrong content
|
||||||
./date ""
|
./date ""
|
||||||
|
|||||||
Reference in New Issue
Block a user