From 4152157e10e207ce18a14200bcc8988911a6ed8a Mon Sep 17 00:00:00 2001 From: Matt Joyce Date: Wed, 8 Jun 2022 11:02:36 +0200 Subject: 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. --- testsuites/libtests/newlib01/newlib01.doc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testsuites/libtests/newlib01/newlib01.doc') 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. -- cgit v1.2.3