summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/newlib01/newlib01.doc
blob: fbda12aa98c459eaff099bca3b25174de462e6d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This file describes the directives and concepts tested by this test set.

test set name: newlib01

directives:

  - newlib_create_hook()
  - newlib_delete_hook()
  - newlib_terminate_hook()

concepts:

  - Reopen the standard output stream and ensure that buffered content is
    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 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.