summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-05-27jffs2: Move into separate librarySebastian Huber8-8/+16
In case the zlib compression was used, then the librtemscpu.a depended on libz.a. To avoid a GCC patch or complicated link flags move the JFFS2 support into a separate library to use a simple "-ljffs2 -lz" to link the executable.
2015-04-08fstests/fsfseeko01: Fix for long == off_tSebastian Huber1-4/+11
Close #2317.
2015-03-31fstests: Increase stack size for symlink loop testAlexander Krutwig1-1/+1
2015-03-31fstests/fssymlink: TypoAlexander Krutwig1-1/+1
2015-03-04Add simple test for scandir() on all file systems testedJoel Sherrill14-0/+255
updates 1394
2015-02-14IMFS: Add CONFIGURE_IMFS_DISABLE_READDIRSebastian Huber1-0/+20
2015-02-13IMFS: Rename CONFIGURE_IMFS_DISABLE_FCHMODSebastian Huber1-1/+1
Rename CONFIGURE_IMFS_DISABLE_FCHMOD to CONFIGURE_IMFS_DISABLE_CHMOD.
2015-02-13IMFS: Add CONFIGURE_IMFS_DISABLE_MKNOD_FILESebastian Huber1-4/+4
2015-02-13IMFS: CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEMSebastian Huber7-3/+203
Resurrect CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM.
2015-02-12IMFS: Add fine grained configurationSebastian Huber12-3/+306
Remove miniIMFS. Statically initialize the root IMFS. Add configuration options to disable individual features of the root IMFS, e.g. o CONFIGURE_IMFS_DISABLE_CHOWN, o CONFIGURE_IMFS_DISABLE_FCHMOD, o CONFIGURE_IMFS_DISABLE_LINK, o CONFIGURE_IMFS_DISABLE_MKNOD, o CONFIGURE_IMFS_DISABLE_MOUNT, o CONFIGURE_IMFS_DISABLE_READLINK, o CONFIGURE_IMFS_DISABLE_RENAME, o CONFIGURE_IMFS_DISABLE_RMNOD, o CONFIGURE_IMFS_DISABLE_SYMLINK, o CONFIGURE_IMFS_DISABLE_UNMOUNT, and o CONFIGURE_IMFS_DISABLE_UTIME.
2015-02-12IMFS: Add root directory to FS infoSebastian Huber1-0/+7
Fix memory leak in IMFS_fsunmount().
2015-02-12IMFS: Introduce IMFS_mknod_controlSebastian Huber1-2/+0
Drop IMFS_node_control::node_size field and add node_size parameter to IMFS_allocate_node() and IMFS_create_node(). This reduces the size of generic nodes.
2015-02-09fstests/fsrename: Avoid double initializationSebastian Huber1-7/+5
2015-01-27IMFS: Replace node union with individual structSebastian Huber1-29/+8
This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
2015-01-22Filesystem: Delete node type operationSebastian Huber1-7/+14
Use the fstat handler instead.
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber13-20/+0
This define was superfluous, undocumented and used inconsistently.
2014-12-05Update bug report URLSebastian Huber1-1/+1
2014-11-20Add supplementary groups to user environmentSebastian Huber1-0/+171
2014-10-23Revert "fstests/mdosfs_fstime: Remove test"Sebastian Huber3-0/+35
This reverts commit bdcf4102f71d1bc2a50f23d2d425d85c24ec0900.
2014-10-08IMFS: Avoid NULL pointer accessSebastian Huber1-0/+11
Avoid NULL pointer access in IMFS_is_imfs_instance(). File systems mounted via mount() always have a valid type string.
2014-05-06testsuites: Remove BSP_SMALL_MEMORYJoel Sherrill2-33/+13
2014-05-05testsuite: Add a per BSP test check for tests not to build.Chris Johns1-45/+45
Provide a file per BSP to list tests that do not build for a BSP. This change removes the BSP_SMALL_MEMORY hack from the code. That hack was a mistake. Provide configuration files for each BSP with tests that cannot build.
2014-04-22fsdosfsname01: Honor BSP_SMALL_MEMORYJoel Sherrill1-9/+23
2014-04-22fsdosfsformat01: Honor BSP_SMALL_MEMORYJoel Sherrill1-4/+10
2014-03-27privateenv: Use POSIX keys instead of task variables.Christian Mauderer5-0/+6
2014-03-27privateenv: Remove sharing of user environment between threads.Christian Mauderer2-13/+0
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns52-52/+52
2014-03-20fstests/fsrename: Fix stack corruptionSebastian Huber2-30/+56
Use snprintf() instead of sprintf(). Include missing header files.
2014-03-20tests/fstests: Remove duplicate begin/end messagesSebastian Huber12-31/+7
Fix file system names. Remove superfluous defines.
2014-03-17New fstest to check rename POSIX conformanceAndre Marques6-0/+1546
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)
2014-03-17tests/fstests: Use <rtems/test.h>Sebastian Huber25-31/+99
2014-01-08fstests and libtests: Add contents to multiple documentation filesCynthia Rempel2-7/+74
2014-01-07fsdosfsformat01.doc: Add contentsCynthia Rempel1-4/+18
2014-01-07fsbdpart01.doc: Add contentsCynthia Rempel1-4/+21
2013-12-20Filesystem: Add readv/writev handlersSebastian Huber1-2/+47
The readv() and writev() support was implemented in terms of multiple calls to the read and write handlers. This imposes a problem on device files which use an IO vector as single request entity. For example a low-level network device (e.g. BPF(4)) may use an IO vector to create one frame from multiple protocol layers each with its own IO vector entry.
2013-11-18Misc tests: Fix scn files and adjust outputJoel Sherrill1-0/+2
2013-11-15testsuites: Add missing .scn filesJoel Sherrill42-20/+1040
2013-11-15Rename imfs_fspathenval.scn to imfs_fspatheval.scnJoel Sherrill2-2/+1
2013-11-15fsdosfsname01: Improve test for duplicate namesRalf Kirchner1-1/+9
2013-10-18fsdosfsformat01: Add test for re-mount of a filesystemRalf Kirchner1-0/+11
2013-09-19JFFS2: New testsSebastian Huber11-0/+411
2013-09-16fstests/mdosfs_fstime: Remove testSebastian Huber3-35/+0
The FAT file system is not conformant with the POSIX requirements.
2013-09-13fstests/fstime: Fix according to POSIXSebastian Huber1-102/+139
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-13fstests/fspermission: Fix resource leakSebastian Huber1-2/+9
2013-08-08Check times with a no change truncate via open.Chris Johns1-1/+31
The open path should update the times even if the truncate does not change the size.
2013-06-03fsdsosfsname01: Ensure endian correctnessRalf Kirchner3-33/+6418
2013-06-03fsdosfsname01: Add compatibility testsRalf Kirchner6-0/+11294
Test handling of file names and directory names according to Microsofts specification for the FAT file system. Tests for compatibility with a genuine MS Windows FAT file system have been added.
2013-06-03fsdosfsname01: Add multibyte testsRalf Kirchner2-1/+286
Test handling of file names and directory names according to Microsofts specification for the FAT file system. Tests for multibyte file names and directory names have been added.
2013-06-03fsdosfsname01: New testRalf Kirchner6-0/+688
Test handling of file names and directory names according to Microsofts specification for the FAT file system. So far tested only for the default character set (code page 850).
2013-05-24dosfs: Add RTEMS_DOSFS_SEMAPHORES_PER_INSTANCERalf Kirchner1-0/+1