diff options
author | sebres <sebres@users.sourceforge.net> | 2017-01-09 18:23:44 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2017-01-09 18:23:44 (GMT) |
commit | f736317f655df4b12f6406d9c0b7dc96075a4868 (patch) | |
tree | 519b9c8c820776fb05dd69d056fb64ecaa42ed64 /tests | |
parent | 87cb0ba76ea6f8e13dd8bb6a25e89fe978a5f09d (diff) | |
download | tcl-f736317f655df4b12f6406d9c0b7dc96075a4868.zip tcl-f736317f655df4b12f6406d9c0b7dc96075a4868.tar.gz tcl-f736317f655df4b12f6406d9c0b7dc96075a4868.tar.bz2 |
Fix clock test-cases: Make test clock-67.5 time zone independent - execution fails in the time zones below gmt
Diffstat (limited to 'tests')
-rw-r--r-- | tests/clock.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/clock.test b/tests/clock.test index 615f3a8..4e44348 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -36954,10 +36954,10 @@ test clock-67.5 {Change scan %x output on global locale change [Bug 4a0c163d24]} set current [msgcat::mclocale] } -body { msgcat::mclocale de_de - set res [clock scan "01.01.1970" -locale current -format %x] + set res [clock scan "01.01.1970" -locale current -format %x -gmt 1] msgcat::mclocale en_uk # This will fail without the bug fix, as still de_de is active - expr {$res == [clock scan "01/01/1970" -locale current -format %x]} + expr {$res == [clock scan "01/01/1970" -locale current -format %x -gmt 1]} } -cleanup { msgcat::mclocale $current } -result {1} |