I encountered the following test failure:
==== fCmd-6.21 CopyRenameOneFile: copy/rename: S_ISDIR(source) FAILED
==== Contents of test case:
file mkdir td1
file rename td1 /tmp
glob -nocomplain td* /tmp/td*
---- Result was:
---- Result should have been (exact matching):
==== 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)