summaryrefslogtreecommitdiff
path: root/testsuites/fstests (follow)
AgeCommit message (Collapse)Author
2017-12-07dosfs: Allow creating a file with similar name.Christian Mauderer
If there is already a file with a long file name it isn't possible to create a second file which has a name that ends on the first files name (for example ets.beam and sets.beam). This patch fixes that. Update #3258.
2017-12-05dosfs: Fix files with same name as volume name.Christian Mauderer
Take care that a file in the root directory with the same name as the volume name can be found. Update #3257.
2017-11-06fsjffs2gc01: Fix sporadic test failuresSebastian Huber
2017-11-06tests: Use simple console driverSebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-28tests: Remove obsolete TESTS_USE_PRINTKSebastian Huber
Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns
- Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
2017-09-15libio: Use FIFO for iop free listSebastian Huber
Update #3136.
2017-09-15libio: Add hold/drop iop referenceSebastian Huber
Check iop reference count in close() and return -1 with errno set to EBUSY in case the file descriptor is still in use. Update #3132.
2017-09-14fstests/fsimfsgeneric01: Fix test assertSebastian Huber
2017-09-06dosfs: Support a cluster size of 64KiBSebastian Huber
Close #3003.
2017-07-28Fix IO control request typeSebastian Huber
2017-07-18tests: Use floating point taskSebastian Huber
These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
2017-04-04testsuite: Add a common test configuration. Fix configure.ac and Makefile.am ↵Chris Johns
errors. - Add a top level test configuration file for test states that are common to all BSPs. This saves adding a test configuration (tcfg) file for every BSP. - Add the test states 'user-input' and 'benchmark'. This lets 'rtems-test' stop the test rather than waiting for a timeout or letting a benchmark run without the user asking for it to run. - Implement rtems-test-check in Python to make it faster. The shell script had grown to a point it was noticably slowing the build down. - Fix the configure.ac and Makefile.am files for a number of the test directories. The files are difficiult to keep in sync with the number of tests and mistakes can happen such as tests being left out of the build. The test fsrofs01 is an example. Also a there was a mix of SUBDIRS and _SUBDIRS being used and only _SUBDIRS should be used. - Fix the test fsrofs01 so it compiles. Closes #2963.
2017-03-16dosfs: Fix file name searchSebastian Huber
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.
2017-03-16dosfs: Fix fat_file_write()Sebastian Huber
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.
2017-03-16dosfs: Fix msdos_utf8_normalize_and_fold()Sebastian Huber
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.
2017-03-16libio: Fix deadlock in location managementSebastian Huber
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 Huber
For a filename match the entry must match without anything remaining. Close #2908.
2017-01-24fsscandir01: Check MAXNAMLEN and NAME_MAXSebastian Huber
Update #1394.
2016-12-20JFFS2: RTEMS_JFFS2_ON_DEMAND_GARBAGE_COLLECTIONSebastian Huber
Update #2844.
2016-12-20JFFS2: Add RTEMS_JFFS2_FORCE_GARBAGE_COLLECTIONSebastian Huber
Add IO control to force a garbage collection. Update #2844.
2016-12-20JFFS2: Add RTEMS_JFFS2_GET_INFOSebastian Huber
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 Huber
This avoids problems with console drivers that require a more complete IMFS.
2016-05-25cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns
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 Huber
Update #2408.
2016-01-27fstests/fsdosfsname01: Fix Makefile.amSebastian Huber
2016-01-05Filesystem: Remove superfluous permission checksSebastian Huber
The permission is check by the upper layer.
2015-05-27jffs2: Move into separate librarySebastian Huber
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 Huber
Close #2317.
2015-03-31fstests: Increase stack size for symlink loop testAlexander Krutwig
2015-03-31fstests/fssymlink: TypoAlexander Krutwig
2015-03-04Add simple test for scandir() on all file systems testedJoel Sherrill
updates 1394
2015-02-14IMFS: Add CONFIGURE_IMFS_DISABLE_READDIRSebastian Huber
2015-02-13IMFS: Rename CONFIGURE_IMFS_DISABLE_FCHMODSebastian Huber
Rename CONFIGURE_IMFS_DISABLE_FCHMOD to CONFIGURE_IMFS_DISABLE_CHMOD.
2015-02-13IMFS: Add CONFIGURE_IMFS_DISABLE_MKNOD_FILESebastian Huber
2015-02-13IMFS: CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEMSebastian Huber
Resurrect CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM.
2015-02-12IMFS: Add fine grained configurationSebastian Huber
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 Huber
Fix memory leak in IMFS_fsunmount().
2015-02-12IMFS: Introduce IMFS_mknod_controlSebastian Huber
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 Huber
2015-01-27IMFS: Replace node union with individual structSebastian Huber
This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
2015-01-22Filesystem: Delete node type operationSebastian Huber
Use the fstat handler instead.
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber
This define was superfluous, undocumented and used inconsistently.
2014-12-05Update bug report URLSebastian Huber
2014-11-20Add supplementary groups to user environmentSebastian Huber
2014-10-23Revert "fstests/mdosfs_fstime: Remove test"Sebastian Huber
This reverts commit bdcf4102f71d1bc2a50f23d2d425d85c24ec0900.
2014-10-08IMFS: Avoid NULL pointer accessSebastian Huber
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 Sherrill
2014-05-05testsuite: Add a per BSP test check for tests not to build.Chris Johns
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.