Tcl Source Code

View Ticket
Login
Ticket UUID: 1550851
Title: new fCmd-28 test suit failures
Type: Bug Created on: 2006-09-02 00:52:04
Submitter: wildcard_25 Assigned to: vincentdarley
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2008-01-28 10:20:10
Status: Closed Closed by: sf-robot
Resolution: Out of Date Closed on: 2008-01-28 03:20:10
Version: obsolete: 8.5a5
Description:
Tcl: cvs head 02-09-2006
OS: WinXP

New test failures in head when going from tclWinFile 
v1.85 -> v1.86

fCmd-28.9.1 was already failing before the update, 
it's previous result string was '2 0 abc.file 3'

fCmd.test

==== fCmd-28.9 file link: success with file FAILED
==== Contents of test case:

    cd [temporaryDirectory]
    file delete -force abc.link
    set res [list [catch {file link abc.link 
abc.file} msg] $msg]
    cd [workingDirectory]
    set res

---- Result was:
0 D:/Tcl/src_tcl/win/abc.file
---- Result should have been (exact matching):
0 abc.file
==== fCmd-28.9 FAILED


==== fCmd-28.9.1 file link: success with file FAILED
==== Contents of test case:

    cd [temporaryDirectory]
    file delete -force abc.link
    set res {}
    file stat abc.file arr ; lappend res $arr(nlink)
    lappend res [catch {file link abc.link abc.file} 
msg] $msg
    file stat abc.file arr ; lappend res $arr(nlink)
    cd [workingDirectory]
    set res

---- Result was:
2 0 D:/Tcl/src_tcl/win/abc.file 3
---- Result should have been (exact matching):
1 0 abc.file 2
==== fCmd-28.9.1 FAILED


==== fCmd-28.11 file link: success with directory 
FAILED
==== Contents of test case:

    cd [temporaryDirectory]
    file delete -force abc.link
    set res [list [catch {file link abc.link abc.dir} 
msg] $msg]
    cd [workingDirectory]
    set res

---- Result was:
0 D:/Tcl/src_tcl/win/abc.dir
---- Result should have been (exact matching):
0 abc.dir
==== fCmd-28.11 FAILED


==== fCmd-28.19 file link: relative paths FAILED
==== Contents of test case:

    cd [temporaryDirectory]
    file mkdir d1/d2/d3
    set res [list [catch {file link d1/l2 d1/d2} err] 
$err]
    lappend res [catch {file delete -force d1} err] 
$err

---- Result was:
0 D:/Tcl/src_tcl/win/d1/d2 0 {}
---- Result should have been (exact matching):
0 d1/d2 0 {}
==== fCmd-28.19 FAILED
User Comments:
sf-robot added on 2008-01-28 10:20:10:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).