summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/fsclose01 (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2020-03-13libio: Robust file descriptor reference countingSebastian Huber1-14/+48
There was a race conditon in the reference counting of file descriptors during a close() operation. After the call to the close handler, the rtems_libio_free() function cleared the flags to zero. However, at this point in time there may still exist some holders of the file descriptor. With RTEMS_DEBUG enabled this could lead to failed assertions in rtems_libio_iop_drop(). Change the code to use only atomic read-modify-write operations on the rtems_libio_iop::flags.
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-10-12fsclose01: Fix uninitialized variable warningSebastian Huber1-1/+1
2018-04-10testsuite/fstests: Merged nested Makefile.am files into one Makefile.amChris Johns1-19/+0
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-02-09fsclose01: Fix task mode, use attributeSebastian Huber1-1/+2
Update #1971.
2018-02-09fsclose01: Use floating-point taskSebastian Huber1-1/+1
The tmpfile() uses sprintf(). Update #1971.
2018-02-05fsclose01: Add tmpfile() test caseSebastian Huber2-3/+28
Close #1971.
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-09-15libio: Use FIFO for iop free listSebastian Huber1-4/+27
Update #3136.
2017-09-15libio: Add hold/drop iop referenceSebastian Huber4-0/+558
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.