summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/newlib01/newlib01.doc
blob: dc16584418789b8731cd46b75f51c629809dfd25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.
  - Check that the state of random number generators is thread-specific, they
    are properly initialized, and return the expected sequence for default
    seed values.