summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/newlib01/newlib01.doc
diff options
context:
space:
mode:
authorMatt Joyce <matthew.joyce@embedded-brains.de>2022-03-24 13:22:32 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-03-31 17:19:39 +0200
commitea4d7566725ab3872dabc5f4a842b2681a736d8f (patch)
tree135fe2c8e02ef0aea2575ef07ffd0ef25552bccf /testsuites/libtests/newlib01/newlib01.doc
parentrtems: Clarify scheduler of created task (diff)
downloadrtems-ea4d7566725ab3872dabc5f4a842b2681a736d8f.tar.bz2
newlib01: Added tests for exit procedures
Added tests for exit procedures to ensure proper resource cleanup. The test now checks cleanup for files assigned to stdio streams and non-stdio streams.
Diffstat (limited to 'testsuites/libtests/newlib01/newlib01.doc')
-rw-r--r--testsuites/libtests/newlib01/newlib01.doc5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/libtests/newlib01/newlib01.doc b/testsuites/libtests/newlib01/newlib01.doc
index 2bf5959506..fbda12aa98 100644
--- a/testsuites/libtests/newlib01/newlib01.doc
+++ b/testsuites/libtests/newlib01/newlib01.doc
@@ -14,5 +14,8 @@ concepts:
written to the open file during thread termination.
- Ensure that the open file is closed after the write during thread
termination.
- - Ensure that all resources are returned to the system using resouce
+ - Ensure that all resources are returned to the system using resource
snapshots.
+ - Check that exit procedures provide proper resource cleanup. Ensure that
+ a file opened from a worker task--but that is not assigned to a stdio
+ stream--is not closed during thread termination.