diff options
author | dgp <dgp@users.sourceforge.net> | 2014-04-16 15:30:23 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-04-16 15:30:23 (GMT) |
commit | c14cbc8057854310556f568a66a96c49a98a8e78 (patch) | |
tree | 499a2ca4ce71608272c48b1af86f91a61caa9169 /tests/clock.test | |
parent | 213fb16f796e25f0c88151bdc79930aa44058d59 (diff) | |
parent | 605c8e8366d2242fdbc73a8322ec2e5e6fce73cf (diff) | |
download | tcl-c14cbc8057854310556f568a66a96c49a98a8e78.zip tcl-c14cbc8057854310556f568a66a96c49a98a8e78.tar.gz tcl-c14cbc8057854310556f568a66a96c49a98a8e78.tar.bz2 |
[d19a30db57] Fixed segfault in [clock] internals. Includes test.
Diffstat (limited to 'tests/clock.test')
-rw-r--r-- | tests/clock.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/clock.test b/tests/clock.test index 0202fc7..2d23ea5 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -36927,6 +36927,11 @@ test clock-67.1 {clock format, %% with a letter following [Bug 2819334]} { clock format [clock seconds] -format %%r } %r +test clock-67.2 {Bug d19a30db57} -body { + # error, not segfault + tcl::clock::GetJulianDayFromEraYearMonthDay {} 2361222 +} -returnCodes error -match glob -result * + # cleanup namespace delete ::testClock |