public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Fix failing nss/tst-nss-files-hosts-long.
@ 2021-07-12  9:59 Stefan Liebler
  0 siblings, 0 replies; only message in thread
From: Stefan Liebler @ 2021-07-12  9:59 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8235f9311bddbe4cf8ff1fa8f72f41aa77e27e00

commit 8235f9311bddbe4cf8ff1fa8f72f41aa77e27e00
Author: Stefan Liebler <stli@linux.ibm.com>
Date:   Mon Jul 12 11:00:53 2021 +0200

    Fix failing nss/tst-nss-files-hosts-long.
    
    Sometimes the test nss/tst-nss-files-hosts-long is failing as getent
    fails with exit-code 2.
    
    This happens if tst-reload1 was run just before this test:
    make t=nss/tst-reload1 test
    make t=nss/tst-nss-files-hosts-long test
    Then the test fails as /etc/nsswitch.conf contains "hosts: test2"
    and the hosts are not searched in /etc/hosts at all.
    
    Thus this patch just requests a post cleanup after nss/tst-reload1
    has run.

Diff:
---
 nss/tst-reload1.root/postclean.req | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/nss/tst-reload1.root/postclean.req b/nss/tst-reload1.root/postclean.req
new file mode 100644
index 0000000000..e69de29bb2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-12  9:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12  9:59 [glibc] Fix failing nss/tst-nss-files-hosts-long Stefan Liebler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).