Make GRTE testing great again, actually run the test programs

This commit is contained in:
Stan Shebs 2017-01-12 12:54:46 -08:00
parent a998069c80
commit 882f407875
2 changed files with 8 additions and 0 deletions

View File

@ -625,3 +625,7 @@ posix/fnmatch_loop.c
Don't read past end of pattern in fnmatch (BZ17062)
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=b3a9f56ba59c3d8eadd3135a1c25c37a63151450
(stanshebs, backport)
nss/tst-nss-getpwent.c
Work around b/34251679 by restricting to nss_files module
(stanshebs, google-local)

View File

@ -32,6 +32,10 @@ do_test (void)
uid_t first_uid = 0;
char *last_name = NULL;
uid_t last_uid = 0;
// Google local: restrict to nss_files module, avoids b/34251679 in nss_cache
__nss_configure_lookup("passwd", "files");
setpwent ();
while ((pw = getpwent ()) != NULL)
{