source: rtems/testsuites/fstests/mimfs_fsrename/Makefile.am @ 27d240e0

4.11
Last change on this file since 27d240e0 was 27d240e0, checked in by Andre Marques <andre.lousa.marques@…>, on Feb 22, 2014 at 9:57:34 PM

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:

  • 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)

  • Property mode set to 100644
File size: 1.0 KB
Line 
1
2rtems_tests_PROGRAMS = mimfs_fsrename
3mimfs_fsrename_SOURCES  = ../fsrename/test.c
4mimfs_fsrename_SOURCES += ../support/fstest_support.c
5mimfs_fsrename_SOURCES += ../support/fstest_support.h
6mimfs_fsrename_SOURCES += ../support/fstest.h
7mimfs_fsrename_SOURCES += ../../psxtests/include/pmacros.h
8mimfs_fsrename_SOURCES += ../mimfs_support/fs_support.c
9mimfs_fsrename_SOURCES += ../mimfs_support/fs_config.h
10
11dist_rtems_tests_DATA = mimfs_fsrename.scn
12#dist_rtems_tests_DATA += mimfs_fsrename.doc
13
14include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
15include $(top_srcdir)/../automake/compile.am
16include $(top_srcdir)/../automake/leaf.am
17
18AM_CPPFLAGS += -I$(top_srcdir)/support
19AM_CPPFLAGS += -I$(top_srcdir)/mimfs_support
20AM_CPPFLAGS += -I$(top_srcdir)/../support/include
21AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include
22
23LINK_OBJS = $(mimfs_fsrename_OBJECTS)
24LINK_LIBS = $(mimfs_fsrename_LDLIBS)
25
26mimfs_fsrename$(EXEEXT): $(mimfs_fsrename_OBJECTS) $(mimfs_fsrename_DEPENDENCIES)
27        @rm -f mimfs_fsrename$(EXEEXT)
28        $(make-exe)
29
30include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.