summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/fsdosfsname01 (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-15fsdosfsname01: Fix string truncation warningFrank Kühndel1-6/+7
This patch fixes a compiler warning: ../../../testsuites/fstests/fsdosfsname01/init.c:430:19: warning: '%s' directive output may be truncated writing up to 6424 bytes into a region of size 257 [-Wformat-truncation=] The buffer 'dirname' is exactly large enough so that no truncation can ever occur. Using the return value of snprintf() is an official supported way to suppress the warning. I considered the comment of Joel Sherrill about not replacing snprintf(): https://lists.rtems.org/pipermail/devel/2020-September/062113.html
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-02-25libio: Add POSIX user environment pointer to TCBSebastian Huber1-1/+0
The IO library used a POSIX key to store an optional POSIX user environment pointer. This pulled in the POSIX keys support in every application configuration. Add a user environment pointer to the thread control block (TCB) instead. Applications which do not need the POSIX user environment will just get an overhead of one pointer per thread. Close #3882.
2019-12-19config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber1-1/+1
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
2018-11-27dosfs: Fix device identifierSebastian Huber1-0/+41
Update #3358.
2018-08-07ramdisk: Use rtems_blkdev_create()Sebastian Huber1-32/+3
Update #3358.
2018-06-14tools: Remove rtems-bin2cSebastian Huber1-1/+1
This tool is now included in the RTEMS tools repository. Close #3380.
2018-04-30Drop executable permissions on .[ch] filesJoel Sherrill1-0/+0
2018-04-10testsuite/fstests: Merged nested Makefile.am files into one Makefile.amChris Johns1-21/+0
This change is part of the testsuite Makefile.am reorganization. Update #3382
2017-12-07dosfs: Allow creating a file with similar name.Christian Mauderer1-0/+25
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 Mauderer1-1/+44
Take care that a file in the root directory with the same name as the volume name can be found. Update #3257.
2017-11-06tests: Use simple console driverSebastian Huber1-1/+1
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber1-2/+0
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-23testsuite: Use printk for all test output where possible.Chris Johns1-0/+2
- 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-07-18tests: Use floating point taskSebastian Huber1-0/+2
These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
2017-03-16dosfs: Fix file name searchSebastian Huber1-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.
2017-03-16dosfs: Fix msdos_utf8_normalize_and_fold()Sebastian Huber1-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.
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.
2016-01-27fstests/fsdosfsname01: Fix Makefile.amSebastian Huber1-14/+2
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber1-2/+0
This define was superfluous, undocumented and used inconsistently.
2014-05-06testsuites: Remove BSP_SMALL_MEMORYJoel Sherrill1-23/+9
2014-04-22fsdosfsname01: Honor BSP_SMALL_MEMORYJoel Sherrill1-9/+23
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns5-5/+5
2014-03-17tests/fstests: Use <rtems/test.h>Sebastian Huber1-3/+6
2013-11-15fsdosfsname01: Improve test for duplicate namesRalf Kirchner1-1/+9
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 Kirchner4-0/+686
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).