summaryrefslogtreecommitdiff
path: root/stdlib/tst-rand48-2.c
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2015-01-21 10:08:18 -0500
committerCarlos O'Donell <carlos@systemhalted.org>2015-01-21 10:08:18 -0500
commit0897c551c0a098020f145885de06a5c10e5cc96b (patch)
tree6d5ef095474ab98f679e5adce85b6e6fec60c4cc /stdlib/tst-rand48-2.c
parent86bba162b5732a33387ac6706bb2f25f8c966325 (diff)
downloadglibc-0897c551c0a098020f145885de06a5c10e5cc96b.tar.gz
tst-getpw: Rewrite.
The test is rewritten to look for the testable conditions and exit once they are all detected. This prevents the test from iterating over 2000 UIDs and looking up each one. It speeds up the test and prevents it from failing if the system under test has an NSS-based passwd that is slower than the test timeout. See: https://sourceware.org/ml/libc-alpha/2015-01/msg00394.html
Diffstat (limited to 'stdlib/tst-rand48-2.c')
0 files changed, 0 insertions, 0 deletions