stdlib: Test for expected sequence of random numbers from randmaster
commit1ac28b781882e3f14b41dcb06f3f945d53938948
authorFlorian Weimer <fweimer@redhat.com>
Mon, 20 Jan 2025 20:06:59 +0000 (20 21:06 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 20 Jan 2025 20:31:59 +0000 (20 21:31 +0100)
tree4e9ca32991e92bf33ce9e807de0950b12de6927d
parent33b684e0194930ff072cf812b37c191637261dbe
stdlib: Test for expected sequence of random numbers from rand

As the test comment explains, this test is not quite valid, but
preserving the exact sequences helps distributions to port to
newer glibc versions.  We can remove this test if we ever switch
to a different implementation.

Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
stdlib/Makefile
stdlib/tst-rand-sequence.c [new file with mode: 0644]