nis compat depreciation and test failures

Steve Ellcey sellcey@cavium.com
Thu Aug 17 19:53:00 GMT 2017


On Wed, 2017-08-16 at 16:32 -0400, Carlos O'Donell wrote:
> 
> I think that's also a good idea.
> 
> In summary:
> 
> (a) Make tests independent of host configuration.
> 
> (b) Add more tests to nss/ subdirectory to test for things like the
>     behaviour when specifying a missing NSS module.
> 
> (c) Remove 'compat' from DEFAULT_CONFIG for all glibc-built services.


I have no idea on how to do (a) or what kind of tests we would need for
(b) but (c) seems easy enough.  If I change DEFAULT_CONFIG in
nss/grp-lookup.c, nss/pwd-lookup.c, and nss/spwd-lookup.c from
"compat [NOTFOUND=return] files" to just "files", the tests work fine
on my x86 and aarch64 boxes.  Does that seem like the right
DEFAULT_CONFIG?  If so, I can submit a patch.

Steve Ellcey
sellcey@cavium.com



More information about the Libc-alpha mailing list