[PATCH v2] New fstest to check rename POSIX conformance

Andre Marques andre.lousa.marques at gmail.com
Sat Feb 22 21:57:34 UTC 2014


Hello,

This patch is a newer version of the test presented on

http://www.rtems.org/pipermail/rtems-devel/2014-February/005318.html

Unchecked error cases:

- EIO (physical error)

- ENOSPC (no space left in the new filepath)

- EROFS (already covered on testsuites/fstests/fsrofs01)

Untested functionality:

- File system lock during rename() operation

- If after rename() the link count of a file becomes 0 it should be 
removed and the space ocupied by the file shall be freed and no longer 
accessible (the function statvfs() gives "not implemented" on the imfs 
file system, so this is postponed for now)

Any problem with the patch please let me know.

--André Marques




-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-New-fstest-to-check-rename-POSIX-conformance.patch
Type: text/x-patch
Size: 43621 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20140222/0cebec8e/attachment.bin>


More information about the devel mailing list