Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 20db47eee18a5f64c6fd565975c3dc36f63d78e3
Ticket: 575840ffffffffffffffffffffffffffffffffff
fileName.test needs writable .
User & Date: dgp on 2002-07-01 06:50:40
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    See Tcl Bug 575817.
    
    fileName.test fails:
    
    ==== filename-4.19 Tcl_SplitPath FAILED
    ==== Contents of test case:
    
        set oldDir [pwd]
        set res [catch {
            file mkdir tildetmp
            set nastydir [file join tildetmp ./~tilde]
            file mkdir $nastydir
            set norm [file normalize $nastydir]
            cd tildetmp
            cd ./~tilde
            glob -nocomplain *
            set idx [string first tildetmp $norm]
            set norm [string range $norm $idx end]
            # fix path away so all platforms are the same
            regsub {(.*):$} $norm {\1} norm
            regsub -all ":" $norm "/" norm
            # make sure we can delete the directory we created
            cd $oldDir
            file delete -force $nastydir
            set norm
        } err]
        cd $oldDir
        catch {file delete -force tildetmp}
        list $res $err
    
    ---- Result was:
    1 {can't create directory "tildetmp": permission denied}
    ---- Result should have been (exact matching):
    0 tildetmp/~tilde
    ==== filename-4.19 FAILED
    
    Test file error: can't create directory "globTest":
    permission denied
        while executing
    "file mkdir globTest/a1/b1"
        (file
    "/tmp/dist/sandbox/tcl8.4b1/tests/fileName.test" line 1131)
    
    
  4. foundin changed to: "obsolete: 8.4a5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "37. File System"
  10. title changed to: "fileName.test needs writable ."
  11. type changed to: "Bug"