Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e7459bb27da0158f78763fa09f090fa6a73afb46
Ticket: 219158ffffffffffffffffffffffffffffffffff
Test fCmd-9.4 relies on buggy rename implementation
User & Date: smallm on 2013-05-07 10:02:36
Changes

  1. icomment:
    Using 8.6.0, it still fails for me on openbsd-current dated May 3,
    2013 on macppc:
    
    fCmd.test
    
    
    ==== fCmd-9.4.b file rename: comprehensive: dir to new name FAILED
    ==== Contents of test case:
    
        file mkdir td1 td2
        testchmod 555 td2
        file rename td1 td3
        file rename td2 td4
        list [lsort [glob td*]] [file writable td3] [file writable td4]
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: error renaming "td2" to "td4": permission denied
        while executing
    "file rename td2 td4"
        ("uplevel" body line 5)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: POSIX EACCES {permission denied}
    ==== fCmd-9.4.b FAILED
    
    I tried NetBSD 6.0.1 and DragonFlyBSD 3.3 and it passed in both of those.
    
    Now that I read my comment below, I'm not sure how I thought that
    quote applied here. Maybe I missed the word _containing_? Sorry about
    that. I wear glasses now.
    
    
    
  2. login: "smallm"
  3. mimetype: "text/plain"
  4. username: "smallm"