Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Bring forward tests to trunk |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
6dc8fe8244587d8fe0b3f2396674832d |
User & Date: | dgp 2013-03-20 15:39:48 |
Context
2013-03-21
| ||
14:35 | 2102614 Add ensemble indexing support to [auto_mkindex]. Thanks Brian Griffin. check-in: 3541de0a97 user: dgp tags: trunk | |
2013-03-20
| ||
15:39 | Bring forward tests to trunk check-in: 6dc8fe8244 user: dgp tags: trunk | |
15:26 | dup test names check-in: 024ec31117 user: dgp tags: core-8-5-branch | |
13:41 | Slightly more correct: If FindFirstFile() fails, the error should be "no such file or directory" (EN... check-in: d2de88281c user: jan.nijtmans tags: trunk | |
Changes
Changes to tests/fCmd.test.
︙ | ︙ | |||
2595 2596 2597 2598 2599 2600 2601 | set path $env(SystemDrive)/pagefile.sys lappend r exists [file exists $path] lappend r readable [file readable $path] lappend r stat [catch {file stat $path a} e] $e } return $r } -result {exists 1 readable 0 stat 0 {}} | | > > > > > > > > > > > > > > > > > > > > > | 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 | set path $env(SystemDrive)/pagefile.sys lappend r exists [file exists $path] lappend r readable [file readable $path] lappend r stat [catch {file stat $path a} e] $e } return $r } -result {exists 1 readable 0 stat 0 {}} test fCmd-30.4 {file writable on 'My Documents'} -constraints {win 2000orNewer} -body { set mydocsname "~/My Documents" # Would be good to localise this name, since this test will only function # on english-speaking windows otherwise if {[file exists $mydocsname]} { return [file writable $mydocsname] } return 1 } -result {1} test fCmd-30.5 {file readable on 'NTUSER.DAT'} -constraints {win 2000orNewer knownBug} -body { # Apparently the OS has this file open with exclusive permissions Windows # doesn't provide any way to determine that fact without actually trying # to open the file (open NTUSER.dat r), which fails. Hence this isn't # really a knownBug in Tcl, but an OS limitation. But, perhaps in the # future that limitation will be lifted. if {[file exists "~/NTUSER.DAT"]} { return [file readable "~/NTUSER.DAT"] } return 0 } -result {0} # cleanup cleanup if {[testConstraint unix]} { removeDirectory tcl[pid] /tmp } ::tcltest::cleanupTests return |
︙ | ︙ |