summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* dosfs: Fix file name searchSebastian Huber2017-03-161-1/+10
| | | | | | | Do not use our long file name entry count to optimize the file name search. The Unicode comparison must be taken into account. Update #2939.
* dosfs: Fix fat_file_write()Sebastian Huber2017-03-167-6/+172
| | | | | | | | Remove forced overwrite which leads to file data corruption. The logic to determine a forced overwrite was fundamentally broken. For simplity, disable this feature. Update #2622.
* dosfs: Fix msdos_utf8_normalize_and_fold()Sebastian Huber2017-03-161-3/+20
| | | | | | | | It is all right in case the result uses the full destination buffer. Without this fix the handling of a maximum 8.3 short file name is broken. Update #2928.
* libio: Fix deadlock in location managementSebastian Huber2017-03-161-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.
* dosfs: Fix msdos_find_file_in_directory()Sebastian Huber2017-02-141-0/+22
| | | | | | For a filename match the entry must match without anything remaining. Close #2908.
* fsscandir01: Check MAXNAMLEN and NAME_MAXSebastian Huber2017-01-241-0/+2
| | | | Update #1394.
* JFFS2: RTEMS_JFFS2_ON_DEMAND_GARBAGE_COLLECTIONSebastian Huber2016-12-201-1/+5
| | | | Update #2844.
* JFFS2: Add RTEMS_JFFS2_FORCE_GARBAGE_COLLECTIONSebastian Huber2016-12-201-0/+57
| | | | | | Add IO control to force a garbage collection. Update #2844.
* JFFS2: Add RTEMS_JFFS2_GET_INFOSebastian Huber2016-12-206-0/+299
| | | | | | | Add IO control RTEMS_JFFS2_GET_INFO to get some JFFS2 filesystem instance information. Update #2844.
* fstests: Use printk() for IMFS configuration testsSebastian Huber2016-09-192-4/+4
| | | | | This avoids problems with console drivers that require a more complete IMFS.
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-251-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.
* Use linker set for libio initializationSebastian Huber2016-02-031-3/+3
| | | | Update #2408.
* fstests/fsdosfsname01: Fix Makefile.amSebastian Huber2016-01-271-14/+2
|
* Filesystem: Remove superfluous permission checksSebastian Huber2016-01-051-0/+20
| | | | The permission is check by the upper layer.
* jffs2: Move into separate librarySebastian Huber2015-05-278-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.
* fstests/fsfseeko01: Fix for long == off_tSebastian Huber2015-04-081-4/+11
| | | | Close #2317.
* fstests: Increase stack size for symlink loop testAlexander Krutwig2015-03-311-1/+1
|
* fstests/fssymlink: TypoAlexander Krutwig2015-03-311-1/+1
|
* Add simple test for scandir() on all file systems testedJoel Sherrill2015-03-0414-0/+255
| | | | updates 1394
* IMFS: Add CONFIGURE_IMFS_DISABLE_READDIRSebastian Huber2015-02-141-0/+20
|
* IMFS: Rename CONFIGURE_IMFS_DISABLE_FCHMODSebastian Huber2015-02-131-1/+1
| | | | Rename CONFIGURE_IMFS_DISABLE_FCHMOD to CONFIGURE_IMFS_DISABLE_CHMOD.
* IMFS: Add CONFIGURE_IMFS_DISABLE_MKNOD_FILESebastian Huber2015-02-131-4/+4
|
* IMFS: CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEMSebastian Huber2015-02-137-3/+203
| | | | Resurrect CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM.
* IMFS: Add fine grained configurationSebastian Huber2015-02-1212-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.
* IMFS: Add root directory to FS infoSebastian Huber2015-02-121-0/+7
| | | | Fix memory leak in IMFS_fsunmount().
* IMFS: Introduce IMFS_mknod_controlSebastian Huber2015-02-121-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.
* fstests/fsrename: Avoid double initializationSebastian Huber2015-02-091-7/+5
|
* IMFS: Replace node union with individual structSebastian Huber2015-01-271-29/+8
| | | | | | This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
* Filesystem: Delete node type operationSebastian Huber2015-01-221-7/+14
| | | | Use the fstat handler instead.
* Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber2014-12-1613-20/+0
| | | | This define was superfluous, undocumented and used inconsistently.
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* Add supplementary groups to user environmentSebastian Huber2014-11-201-0/+171
|
* Revert "fstests/mdosfs_fstime: Remove test"Sebastian Huber2014-10-233-0/+35
| | | | This reverts commit bdcf4102f71d1bc2a50f23d2d425d85c24ec0900.
* IMFS: Avoid NULL pointer accessSebastian Huber2014-10-081-0/+11
| | | | | Avoid NULL pointer access in IMFS_is_imfs_instance(). File systems mounted via mount() always have a valid type string.
* testsuites: Remove BSP_SMALL_MEMORYJoel Sherrill2014-05-062-33/+13
|
* testsuite: Add a per BSP test check for tests not to build.Chris Johns2014-05-051-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.
* fsdosfsname01: Honor BSP_SMALL_MEMORYJoel Sherrill2014-04-221-9/+23
|
* fsdosfsformat01: Honor BSP_SMALL_MEMORYJoel Sherrill2014-04-221-4/+10
|
* privateenv: Use POSIX keys instead of task variables.Christian Mauderer2014-03-275-0/+6
|
* privateenv: Remove sharing of user environment between threads.Christian Mauderer2014-03-272-13/+0
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2152-52/+52
|
* fstests/fsrename: Fix stack corruptionSebastian Huber2014-03-202-30/+56
| | | | Use snprintf() instead of sprintf(). Include missing header files.
* tests/fstests: Remove duplicate begin/end messagesSebastian Huber2014-03-2012-31/+7
| | | | Fix file system names. Remove superfluous defines.
* New fstest to check rename POSIX conformanceAndre Marques2014-03-176-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)
* tests/fstests: Use <rtems/test.h>Sebastian Huber2014-03-1725-31/+99
|
* fstests and libtests: Add contents to multiple documentation filesCynthia Rempel2014-01-082-7/+74
|
* fsdosfsformat01.doc: Add contentsCynthia Rempel2014-01-071-4/+18
|
* fsbdpart01.doc: Add contentsCynthia Rempel2014-01-071-4/+21
|
* Filesystem: Add readv/writev handlersSebastian Huber2013-12-201-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.
* Misc tests: Fix scn files and adjust outputJoel Sherrill2013-11-181-0/+2
|