]> git.ipfire.org Git - thirdparty/glibc.git/commit
stdlib: Tune down fork arc4random tests
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Thu, 1 Jun 2023 15:59:19 +0000 (12:59 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 12 Jun 2023 17:45:16 +0000 (14:45 -0300)
commite6ce346d0791410a2e6ec9df1bc35e6acd4bca18
treec807696808f1301603163a539325a0aa8c0152d5
parent31df9fa8ff79ff5e5aeb245232e474ce21028b74
stdlib: Tune down fork arc4random tests

There is no fork detection on current arc4random implementation, so
use lower subprocess on fork tests.  The tests now run on 0.1s
instead of 8s on a Ryzen9 5900X.

Checked on x86_64-linux-gnu.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
stdlib/tst-arc4random-fork.c