Commit Graph

12 Commits

Author SHA1 Message Date
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
802d3ba712 tests/fstests: Remove duplicate begin/end messages
Fix file system names.  Remove superfluous defines.
2014-03-20 09:10:08 +01:00
Sebastian Huber
bc75887774 tests/fstests: Use <rtems/test.h> 2014-03-17 09:17:36 +01:00
Sebastian Huber
736983f1cc fstests/fstime: Fix according to POSIX
ftruncate() and open() with O_TRUNC shall upon successful completion
mark for update the st_ctime and st_mtime fields of the file.

truncate() shall upon successful completion, if the file size is
changed, mark for update the st_ctime and st_mtime fields of the file.

The POSIX standard "The Open Group Base Specifications Issue 7", IEEE
Std 1003.1, 2013 Edition says nothing about the behaviour of truncate()
if the file size remains unchanged.

Future directions of the standard may mandate the behaviour specified in
ftruncate():

http://austingroupbugs.net/view.php?id=489
2013-09-13 16:47:55 +02:00
Chris Johns
2f9cef8819 Check times with a no change truncate via open.
The open path should update the times even if the truncate does not
change the size.
2013-08-08 08:11:57 +10:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Sebastian Huber
28860ec03c Fixed warnings and minor bugs
o Due to the usual integer propagation rules care must be taken in case
   off_t is involved.
 o Use the effective UID and GID consistently.
2012-02-08 15:57:04 +01:00
Ralf Corsepius
32448524b6 2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* fserror/test.c, fslink/test.c, fspatheval/test.c,
	fspermission/test.c, fsrdwr/init.c, fssymlink/test.c,
	fstime/test.c, support/fstest_support.c, support/ramdisk_support.c:
	Explicitly include "pmacros.h".
	* support/fstest.h: Don't include "pmacros.h".
2011-09-30 03:07:21 +00:00
Ralf Corsepius
d9578055d8 2011-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* fserror/test.c, fslink/test.c, fspatheval/test.c,
	fspermission/test.c, fsrdwr/init.c, fssymlink/test.c,
	fstime/test.c, support/fstest_support.c, support/ramdisk_support.c:
	Add config-header support.
2011-09-07 07:42:12 +00:00
Ralf Corsepius
db6fbdf0ef 2011-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* fserror/fserror.doc, fserror/test.c, fslink/fslink.doc,
	fslink/test.c, fspatheval/patheval.doc, fspatheval/test.c,
	fspermission/fspermission.doc, fspermission/test.c,
	fsrdwr/fsrdwr.doc, fsrdwr/init.c, fssymlink/fssymlink.doc,
	fssymlink/test.c, fstime/fstime.doc, fstime/test.c,
	imfs_support/fs_config.h, imfs_support/fs_support.c,
	imfs_support/fs_supprot.h, mdosfs_support/fs_config.h,
	mdosfs_support/fs_support.c, mimfs_support/fs_config.h,
	mimfs_support/fs_support.c, mrfs_support/fs_config.h,
	mrfs_support/fs_support.c, support/fstest.h,
	support/fstest_support.c, support/fstest_support.h,
	support/ramdisk_support.c, support/ramdisk_support.h:
	Fix CVS-Ids.
2011-09-07 07:32:05 +00:00
Joel Sherrill
6fed43eabc 2011-08-02 Xiang Cui <medivhc@gmail.com>
* configure.ac, fserror/test.c, fslink/test.c, fspermission/test.c,
	fsrdwr/init.c, fssymlink/test.c, fstime/test.c,
	mdosfs_support/fs_config.h, mdosfs_support/fs_support.c,
	mimfs_support/fs_support.c, mrfs_support/fs_config.h,
	support/fstest.h, support/fstest_support.c,
	support/ramdisk_support.c, support/ramdisk_support.h: Perform first
	phase of clean up.
2011-08-02 14:24:59 +00:00
Joel Sherrill
a7c39d3d3f 2011-08-01 Xiang Cui <medivhc@gmail.com>
* imfs_fslink/Makefile.am, imfs_fssymlink/Makefile.am,
	mimfs_fslink/Makefile.am, mimfs_fssymlink/Makefile.am,
	mrfs_fslink/Makefile.am, mrfs_fssymlink/Makefile.am,
	mrfs_support/fs_config.h: Correcting from previous commit of
	incorrect tarball.
	* fserror/fserror.doc, fserror/test.c, fspatheval/patheval.doc,
	fspatheval/test.c, fspermission/fspermission.doc,
	fspermission/test.c, fsrdwr/fsrdwr.doc, fsrdwr/init.c,
	fstime/fstime.doc, fstime/test.c, imfs_fserror/.cvsignore,
	imfs_fserror/Makefile.am, imfs_fslink/.cvsignore,
	imfs_fspatheval/.cvsignore, imfs_fspatheval/Makefile.am,
	imfs_fspermission/.cvsignore, imfs_fspermission/Makefile.am,
	imfs_fsrdwr/.cvsignore, imfs_fsrdwr/Makefile.am,
	imfs_fssymlink/.cvsignore, imfs_fstime/.cvsignore,
	imfs_fstime/Makefile.am, imfs_support/fs_supprot.h,
	mdosfs_fserror/.cvsignore, mdosfs_fserror/Makefile.am,
	mdosfs_fspatheval/.cvsignore, mdosfs_fspatheval/Makefile.am,
	mdosfs_fsrdwr/.cvsignore, mdosfs_fsrdwr/Makefile.am,
	mdosfs_fstime/.cvsignore, mdosfs_fstime/Makefile.am,
	mimfs_fserror/.cvsignore, mimfs_fserror/Makefile.am,
	mimfs_fslink/.cvsignore, mimfs_fspatheval/.cvsignore,
	mimfs_fspatheval/Makefile.am, mimfs_fspermission/.cvsignore,
	mimfs_fspermission/Makefile.am, mimfs_fsrdwr/.cvsignore,
	mimfs_fsrdwr/Makefile.am, mimfs_fssymlink/.cvsignore,
	mimfs_fstime/.cvsignore, mimfs_fstime/Makefile.am,
	mrfs_fserror/.cvsignore, mrfs_fserror/Makefile.am,
	mrfs_fslink/.cvsignore, mrfs_fspatheval/.cvsignore,
	mrfs_fspatheval/Makefile.am, mrfs_fspermission/.cvsignore,
	mrfs_fspermission/Makefile.am, mrfs_fsrdwr/.cvsignore,
	mrfs_fsrdwr/Makefile.am, mrfs_fssymlink/.cvsignore,
	mrfs_fstime/.cvsignore, mrfs_fstime/Makefile.am: New files.
2011-08-01 21:54:19 +00:00