Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b6747c122116922edc4b3878bb144a0e04ea2a8b
Ticket: 3519357fffffffffffffffffffffffffffffffff
fCmd test assumes too much about the contents of /tmp
User & Date: anonymous on 2012-04-19 02:32:03
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I encountered the following test failure:
    
    ==== fCmd-6.21 CopyRenameOneFile: copy/rename: S_ISDIR(source) FAILED
    ==== Contents of test case:
    
        cleanup /tmp
        file mkdir td1
        file rename td1 /tmp
        glob -nocomplain td* /tmp/td*
    
    ---- Result was:
    /tmp/tdfile.tmp /tmp/td1
    ---- Result should have been (exact matching):
    /tmp/td1
    ==== fCmd-6.21 FAILED
    
    /tmp/tdfile.tmp is owned by a different user, and happens to not be writable by the user running the test.
    
    This means that "cleanup /tmp" failed to delete /tmp/tdfile.tmp , which resulted in the error.
    
    If the tests need to use /tmp, it would be great if they could create a uniquely-named directory inside of it (using a random number, or some mechanism similar to mkstemp(3) ) and do all their file manipulations in there.
    
    $ uname -a:
    Linux box_rhel6 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    
    $ cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 6.2 (Santiago)
    
    Thank you!
    
  4. foundin changed to: "obsolete: 8.5.11"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. subsystem changed to: "None"
  10. title changed to:
    fCmd test assumes too much about the contents of /tmp
    
  11. type changed to: "Bug"