Tcl Source Code

Check-in [bbf2e2ebf8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Test for [d19a30db57].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA1: bbf2e2ebf8415a4175cb8fbdcf82d578c60b3b89
User & Date: dgp 2014-04-16 15:17:14
Context
2014-04-16
15:30
Test for [d19a30db57] extended check-in: 591ee4c021 user: sebres tags: core-8-5-branch
15:30
[d19a30db57] Fixed segfault in [clock] internals. Includes test. check-in: 8aca271fac user: dgp tags: trunk
15:17
Test for [d19a30db57]. check-in: bbf2e2ebf8 user: dgp tags: core-8-5-branch
14:07
merge fork: Segmentation fault using some functions of tcl::clock, fixed, belong to ticket [d19a30db... check-in: b98c43b470 user: jan.nijtmans tags: core-8-5-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tests/clock.test.

36923
36924
36925
36926
36927
36928
36929





36930
36931
36932
36933
36934
36935
36936
    -result 1256572800
}

test clock-67.1 {clock format, %% with a letter following [Bug 2819334]} {
    clock format [clock seconds] -format %%r
} %r






# cleanup

namespace delete ::testClock
::tcl::clock::ClearCaches
::tcltest::cleanupTests
return








>
>
>
>
>







36923
36924
36925
36926
36927
36928
36929
36930
36931
36932
36933
36934
36935
36936
36937
36938
36939
36940
36941
    -result 1256572800
}

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
::tcl::clock::ClearCaches
::tcltest::cleanupTests
return