summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/newlib01/newlib01.doc
diff options
context:
space:
mode:
authorMatt Joyce <matthew.joyce@embedded-brains.de>2022-06-08 11:02:36 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-06-09 08:10:19 +0200
commit4152157e10e207ce18a14200bcc8988911a6ed8a (patch)
tree5b2d596c3cc33a6b2055e282bf5e58e276530eaa /testsuites/libtests/newlib01/newlib01.doc
parenttestsuite/libtests: Add exit03 to test exit() with C++ (diff)
downloadrtems-4152157e10e207ce18a14200bcc8988911a6ed8a.tar.bz2
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.
Diffstat (limited to 'testsuites/libtests/newlib01/newlib01.doc')
-rw-r--r--testsuites/libtests/newlib01/newlib01.doc3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/libtests/newlib01/newlib01.doc b/testsuites/libtests/newlib01/newlib01.doc
index fbda12aa98..dc16584418 100644
--- a/testsuites/libtests/newlib01/newlib01.doc
+++ b/testsuites/libtests/newlib01/newlib01.doc
@@ -19,3 +19,6 @@ concepts:
- 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.