Posted to tcl by emiliano at Sat Sep 13 19:03:33 GMT 2008view raw
- ============================SNIP
- case.test
- clock.test
- ==== clock-3.4 clock format tests FAILED
- ==== Contents of test case:
- # tzset() under Borland doesn't seem to set up tzname[] for gmt
- # timezone. tzset() under MSVC has the following weird observed
- # behavior:
- # First time we call "clock format [clock seconds] -format %Z -gmt 1"
- # we get "GMT", but on all subsequent calls we get the current time
- # zone string, even though env(TZ) is GMT and the variable _timezone
- # is 0.
- set x {}
- append x [clock format 863800000 -format %Z -gmt 1]
- append x [clock format 863800000 -format %Z -gmt 1]
- ---- Result was:
- ARTART
- ---- Result should have been (regexp matching):
- GMTGMT|UTCUTC
- ==== clock-3.4 FAILED
- cmdAH.test
- cmdIL.test
- ====================== SNIP