4.115
Last change
on this file since 27d240e0 was
27d240e0,
checked in by Andre Marques <andre.lousa.marques@…>, on 02/22/14 at 21:57:34
|
New fstest to check rename POSIX conformance
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:
- 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)
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[27d240e0] | 1 | |
---|
| 2 | rtems_tests_PROGRAMS = mimfs_fsrename |
---|
| 3 | mimfs_fsrename_SOURCES = ../fsrename/test.c |
---|
| 4 | mimfs_fsrename_SOURCES += ../support/fstest_support.c |
---|
| 5 | mimfs_fsrename_SOURCES += ../support/fstest_support.h |
---|
| 6 | mimfs_fsrename_SOURCES += ../support/fstest.h |
---|
| 7 | mimfs_fsrename_SOURCES += ../../psxtests/include/pmacros.h |
---|
| 8 | mimfs_fsrename_SOURCES += ../mimfs_support/fs_support.c |
---|
| 9 | mimfs_fsrename_SOURCES += ../mimfs_support/fs_config.h |
---|
| 10 | |
---|
| 11 | dist_rtems_tests_DATA = mimfs_fsrename.scn |
---|
| 12 | #dist_rtems_tests_DATA += mimfs_fsrename.doc |
---|
| 13 | |
---|
| 14 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
| 15 | include $(top_srcdir)/../automake/compile.am |
---|
| 16 | include $(top_srcdir)/../automake/leaf.am |
---|
| 17 | |
---|
| 18 | AM_CPPFLAGS += -I$(top_srcdir)/support |
---|
| 19 | AM_CPPFLAGS += -I$(top_srcdir)/mimfs_support |
---|
| 20 | AM_CPPFLAGS += -I$(top_srcdir)/../support/include |
---|
| 21 | AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include |
---|
| 22 | |
---|
| 23 | LINK_OBJS = $(mimfs_fsrename_OBJECTS) |
---|
| 24 | LINK_LIBS = $(mimfs_fsrename_LDLIBS) |
---|
| 25 | |
---|
| 26 | mimfs_fsrename$(EXEEXT): $(mimfs_fsrename_OBJECTS) $(mimfs_fsrename_DEPENDENCIES) |
---|
| 27 | @rm -f mimfs_fsrename$(EXEEXT) |
---|
| 28 | $(make-exe) |
---|
| 29 | |
---|
| 30 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.