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
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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! - foundin changed to: "obsolete: 8.5.11"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- subsystem changed to: "None"
- title changed to:
fCmd test assumes too much about the contents of /tmp
- type changed to: "Bug"