Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2f2c2076f72886ed0a2014986e8a46427dd6c976
Ticket: 2003130fffffffffffffffffffffffffffffffff
failing fCmd.test tests on new fileserver
User & Date: ferrieux on 2008-06-26 20:33:19
Changes

  1. icomment:
    Logged In: YES 
    user_id=496139
    Originator: NO
    
    Indeed when I compare behavior between a local disk and an NFS share, old versions of Tcl would consistently say "file already exists", while HEAD says "file busy" on NFS. After a bit of strace, I see that the underlying errnos are respectively ENOTEMPTY and EBUSY.
    
    Notice that the test case already account for this slight variability (see comment on fCmd-9.9: Test can hit EEXIST or EBUSY, depending on underlying filesystem), by using "file *" as error pattern.
    
    However your case is a bit nastier. Can you strace/truss and find the syscall returning EISDIR (responsible for "illegal operation on directory") ?
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"