Files
rtems/testsuites/libtests/newlib01/newlib01.doc
Matt Joyce 4152157e10 Newlib01: Add tests for rand() and lrand48()
Check that the state of rand() and lrand48() is thread-specific,
that they are properly initialized, and return the expected
sequence of pseudo-random numbers for default seed values.
2022-06-09 08:10:19 +02:00

25 lines
879 B
Plaintext

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.