Overview
| Artifact ID: | 2a7cd727bbd76de3f6d02dadd0bccc6e52f3217a |
|---|---|
| Ticket: | 3103656fffffffffffffffffffffffffffffffff
Case insensitive test result for test winFCmd-19.7 |
| User & Date: | nijtmans on 2010-11-12 05:42:29 |
Changes
- icomment:
I don't know if [file normalize] is allowed to uppercase the directory, but if it is then the simplest solution is the following patch. [filr normalize] behavior is not the object of this test case, so I have no problem doing that. (even though it is not a real fix......) Strange that test 19.8, which does almost exactly the same, doesn't have this problem (or does it?). It really looks like a strange Windows problem, which has nothing to do with Tcl....... I installed VC++ 10.0 on my Windows 7, and ran this test many times, but I still never see the failure. ;-( And I am using NTFS too. =============================== diff -u -r1.46 winFCmd.test --- tests/winFCmd.test10 Nov 2009 20:40:06 -00001.46 +++ tests/winFCmd.test11 Nov 2010 22:33:07 -0000 @@ -1493,16 +1493,16 @@ catch {file delete $tmpfile} } -result [list 0 {}] test winFCmd-19.7 {Windows extended path names} -constraints nt -setup { - set tmpfile [file join $::env(TEMP) "tcl[pid].tmp "] + set tmpfile [file join $::env(TEMP) "TCL[pid].TMP "] set tmpfile [file normalize $tmpfile] } -body { list [catch { set f [open $tmpfile [list WRONLY CREAT]] close $f - } res] $res [glob -directory $::env(TEMP) -tails tcl[pid].*] + } res] $res [glob -directory $::env(TEMP) -tails TCL[pid].*] } -cleanup { catch {file delete $tmpfile} -} -result [list 0 {} [list tcl[pid].tmp]] +} -result [list 0 {} [list TCL[pid].TMP]] test winFCmd-19.8 {Windows extended path names} -constraints nt -setup { set tmpfile [file join $::env(TEMP) "tcl[pid].tmp "] set tmpfile //?/[file normalize $tmpfile] - login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"