Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bccab5c288f903baddf427a41b6fc52ddb59f5d2
Ticket: 859251ffffffffffffffffffffffffffffffffff
new fileSystem.test failures
User & Date: dgp on 2003-12-17 23:24:22
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    After applying that patch,
    the test results are different.
    Now these four tests fail
    (on both Solaris 9 and Linux/Alpha):
    
    ==== fCmd-26.2 TclDeleteFilesCmd: delete dir with symlink FAILED
    ==== Contents of test case:
    
        catch {file delete -force -- tfad1 tfad2}
    
        file mkdir tfad1
        file mkdir tfad2
        file link -symbolic [file join tfad2 link] tfad1
        file delete -force tfad2
    
        set r1 [file isdir tfad1]
        set r2 [file exists tfad2]
        
        set result [expr $r1 && !$r2]
        file delete tfad1
        set result
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: could not create new link "tfad2/link":
    target "tfad1" doesn't exist
        while executing
    "file link -symbolic [file join tfad2 link] tfad1"
        ("uplevel" body line 6)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: NONE
    ==== fCmd-26.2 FAILED
    
    ==== fCmd-28.20 file link: relative paths FAILED
    ==== Contents of test case:
    
        cd [temporaryDirectory]
        file mkdir d1/d2/d3
        list [catch {file link d1/l2 d1/d2} res] $res
    
    ---- Result was:
    1 {could not create new link "d1/l2": target "d1/d2" doesn't
    exist}
    ---- Result should have been (exact matching):
    1 d1/d2
    ==== fCmd-28.20 FAILED
    
    
    ==== fCmd-28.22 file link: relative paths FAILED
    ==== Contents of test case:
    
        cd [temporaryDirectory]
        file mkdir d1/d2/d3
        list [catch {file link d1/l2 d2/d3} res] $res
    
    ---- Result was:
    1 {could not create new link "d1/l2": that path already exists}
    ---- Result should have been (exact matching):
    0 d2/d3
    ==== fCmd-28.22 FAILED
    
    ==== filesystem-1.11 link normalisation: double link, back
    in tree FAILED
    ==== Contents of test case:
    
        file link [file join dir2.file dir2.link] dir2.link
        testPathEqual [file normalize [file join dir.dir
    linkinside.file foo]]  [file normalize [file join dir2.file
    dir2.link inside.file foo]]
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: could not create new link
    "dir2.file/dir2.link": target "dir2.link" doesn't exist
        while executing
    "file link [file join dir2.file dir2.link] dir2.link"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: NONE
    ==== filesystem-1.11 FAILED
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"