This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nis compat depreciation and test failures


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]