Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 475a5a7c3c120b4debd2efd5c5f237e8f52500cd
Ticket: 1035775fffffffffffffffffffffffffffffffff
filesystem-7.6 and 7.7 fail
User & Date: das on 2004-11-11 08:05:32
Changes

  1. icomment:
    Logged In: YES 
    user_id=90580
    
    also ran into this the other day and fiddled around a bit, it turns out that 
    these tests only fail when executed as part of filesystem.test and not 
    when run as independent snippets.
    the problem seems to be with reuse of directory names (some PathObj 
    issue?), as when the 'dir2' in these tests is changed to 'dir3', they pass.
    I also managed to workaround the failure with the change below, which 
    again only changes a 'dir2' pathname earlier on in the testfile to './dir2'...
    haven't tried to investigate any further, HTH a bit...
    
    Index: tests/fileSystem.test
    ===============================================
    ====================
    RCS file: /cvsroot/tcl/tcl/tests/fileSystem.test,v
    retrieving revision 1.49
    diff -u -p -r1.49 fileSystem.test
    --- tests/fileSystem.test31 Oct 2004 17:36:41 -00001.49
    +++ tests/fileSystem.test10 Nov 2004 17:02:39 -0000
    @@ -261,7 +261,7 @@ test filesystem-1.29.1 {link normalisati
     file delete -force dir2.file
     file delete -force dir2.link
     file delete -force link.file dir.link
    -file delete -force dir2
    +file delete -force ./dir2
     file delete -force [file join dir.dir dirinside.link]
     removeFile [file join dir.dir inside.file]
     removeDirectory [file join dir.dir dirinside.dir]
     
    
    
  2. login: "das"
  3. mimetype: "text/plain"
  4. username: "das"