diff options
author | Carlos O'Donell <carlos@systemhalted.org> | 2015-01-21 10:08:18 -0500 |
---|---|---|
committer | Carlos O'Donell <carlos@systemhalted.org> | 2015-01-21 10:08:18 -0500 |
commit | 0897c551c0a098020f145885de06a5c10e5cc96b (patch) | |
tree | 6d5ef095474ab98f679e5adce85b6e6fec60c4cc /posix/getpid.c | |
parent | 86bba162b5732a33387ac6706bb2f25f8c966325 (diff) | |
download | glibc-0897c551c0a098020f145885de06a5c10e5cc96b.tar.gz glibc-0897c551c0a098020f145885de06a5c10e5cc96b.tar.xz glibc-0897c551c0a098020f145885de06a5c10e5cc96b.zip |
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 'posix/getpid.c')
0 files changed, 0 insertions, 0 deletions