summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/fsrename/test.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-12testsuites/fstests/*: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-03-03fstests/fsrename: Rename a file twiceSebastian Huber1-0/+29
2019-11-12fstests: Use tmacros.h instead of pmacros.hSebastian Huber1-1/+1
This avoids an extra include path. Update #3818.
2015-02-09fstests/fsrename: Avoid double initializationSebastian Huber1-7/+5
2014-03-20fstests/fsrename: Fix stack corruptionSebastian Huber1-30/+55
Use snprintf() instead of sprintf(). Include missing header files.
2014-03-17New fstest to check rename POSIX conformanceAndre Marques1-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)