Lines 1-30
Link Here
|
1 |
--- ../tests/clock.test Wed Sep 8 14:32:20 2004 |
|
|
2 |
+++ ../tests/clock.test Tue Jun 27 13:42:45 2006 |
3 |
@@ -64,5 +64,5 @@ |
4 |
clock format $clockval -format {%a %b %d %I:%M:%S %p %Y} -gmt true |
5 |
} {Sun Nov 04 03:02:46 AM 1990} |
6 |
-test clock-3.2 {clock format tests} { |
7 |
+test clock-3.2 {clock format tests} -body { |
8 |
# TCL_USE_TIMEZONE_VAR |
9 |
|
10 |
@@ -74,5 +74,5 @@ |
11 |
catch {unset env(TZ); set env(TZ) $oldtz} |
12 |
set x |
13 |
-} {GMTPST} |
14 |
+} -match regexp -result {(GMT|UTC)PST} |
15 |
test clock-3.3 {clock format tests} { |
16 |
# tzset() under Borland doesn't seem to set up tzname[] for local |
17 |
@@ -83,5 +83,5 @@ |
18 |
set x {} |
19 |
} {} |
20 |
-test clock-3.4 {clock format tests} { |
21 |
+test clock-3.4 {clock format tests} -body { |
22 |
# tzset() under Borland doesn't seem to set up tzname[] for gmt timezone. |
23 |
# tzset() under MSVC has the following weird observed behavior: |
24 |
@@ -94,5 +94,5 @@ |
25 |
append x [clock format 863800000 -format %Z -gmt 1] |
26 |
append x [clock format 863800000 -format %Z -gmt 1] |
27 |
-} {GMTGMT} |
28 |
+} -match regexp -result {GMTGMT|UTCUTC} |
29 |
test clock-3.5 {clock format tests} { |
30 |
list [catch {clock format} msg] $msg |