[PATCH 2/2] stdlib: Test for expected sequence of random numbers from rand

Sam James sam@gentoo.org
Mon Jan 20 23:22:12 GMT 2025


Florian Weimer <fweimer@redhat.com> writes:

> * Sam James:
>
>> Florian Weimer <fweimer@redhat.com> writes:
>>
>>> 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.
>>> ---
>>>  stdlib/Makefile            |  1 +
>>>  stdlib/tst-rand-sequence.c | 57 ++++++++++++++++++++++++++++++++++++++
>>>  2 files changed, 58 insertions(+)
>>>  create mode 100644 stdlib/tst-rand-sequence.c
>>
>> Thanks, looks good (already in, though). What package(s) broke, out of
>> interest?
>
> isa-l: <https://bugzilla.redhat.com/show_bug.cgi?id=2338812>
>
> The test failure looked like this:

Thank you - both for that and for fixing my error. I feel bad you had to
run it down and handle it, but I appreciate it in any case.


More information about the Libc-alpha mailing list