[PATCH 0/1] Newlib01: Add tests for rand() and lrand48()

Matthew Joyce matthew.joyce at embedded-brains.de
Wed Jun 8 09:02:35 UTC 2022


From: Matt Joyce <matthew.joyce at embedded-brains.de>

Hello,

This patch adds tests for rand() and lrand48(). It checks to ensure their state
is thread-specific, that they are properly initialized, and return the expected
sequence for default seed values.

Sincerely,

Matt

Matt Joyce (1):
  Newlib01: Add tests for rand() and lrand48()

 testsuites/libtests/newlib01/init.c       | 50 +++++++++++++++++++++++
 testsuites/libtests/newlib01/newlib01.doc |  3 ++
 2 files changed, 53 insertions(+)

-- 
2.31.1



More information about the devel mailing list