summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-03-16libio: Fix deadlock in location managementSebastian Huber1-4/+4
Perform a context-dependent deferred location release to avoid a deadlock on the file system instance locks, for example during a chdir(). Update #2936.
2017-02-14dosfs: Fix msdos_find_file_in_directory()Sebastian Huber1-0/+22
For a filename match the entry must match without anything remaining. Close #2908.
2017-01-24fsscandir01: Check MAXNAMLEN and NAME_MAXSebastian Huber1-0/+2
Update #1394.
2016-12-20JFFS2: RTEMS_JFFS2_ON_DEMAND_GARBAGE_COLLECTIONSebastian Huber1-1/+5
Update #2844.
2016-12-20JFFS2: Add RTEMS_JFFS2_FORCE_GARBAGE_COLLECTIONSebastian Huber1-0/+57
Add IO control to force a garbage collection. Update #2844.
2016-12-20JFFS2: Add RTEMS_JFFS2_GET_INFOSebastian Huber6-0/+299
Add IO control RTEMS_JFFS2_GET_INFO to get some JFFS2 filesystem instance information. Update #2844.
2016-09-19fstests: Use printk() for IMFS configuration testsSebastian Huber2-4/+4
This avoids problems with console drivers that require a more complete IMFS.
2016-05-25cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns1-2/+2
This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
2016-02-03Use linker set for libio initializationSebastian Huber1-3/+3
Update #2408.
2016-01-27fstests/fsdosfsname01: Fix Makefile.amSebastian Huber1-14/+2
2016-01-05Filesystem: Remove superfluous permission checksSebastian Huber1-0/+20
The permission is check by the upper layer.
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