summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/fsrename/test.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuites/fstests/*: Change license to BSD-2Joel Sherrill2022-04-121-3/+22
| | | | Updates #3053.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* fstests/fsrename: Rename a file twiceSebastian Huber2020-03-031-0/+29
|
* fstests: Use tmacros.h instead of pmacros.hSebastian Huber2019-11-121-1/+1
| | | | | | This avoids an extra include path. Update #3818.
* fstests/fsrename: Avoid double initializationSebastian Huber2015-02-091-7/+5
|
* fstests/fsrename: Fix stack corruptionSebastian Huber2014-03-201-30/+55
| | | | Use snprintf() instead of sprintf(). Include missing header files.
* New fstest to check rename POSIX conformanceAndre Marques2014-03-171-0/+1208
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)