From: Stefan Liebler via Libc-alpha <libc-alpha@sourceware.org>
To: libc-alpha@sourceware.org
Cc: fweimer@redhat.com, Stefan Liebler <stli@linux.ibm.com>
Subject: [PATCH v2] Fix failing nss/tst-nss-files-hosts-long.
Date: Mon, 12 Jul 2021 11:00:53 +0200 [thread overview]
Message-ID: <20210712090053.3235454-1-stli@linux.ibm.com> (raw)
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.
---
nss/tst-reload1.root/postclean.req | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 nss/tst-reload1.root/postclean.req
diff --git a/nss/tst-reload1.root/postclean.req b/nss/tst-reload1.root/postclean.req
new file mode 100644
index 0000000000..e69de29bb2
--
2.31.1
next reply other threads:[~2021-07-12 8:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-12 9:00 Stefan Liebler via Libc-alpha [this message]
2021-07-12 9:31 ` [PATCH v2] Fix failing nss/tst-nss-files-hosts-long Florian Weimer via Libc-alpha
2021-07-12 9:59 ` Stefan Liebler via Libc-alpha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/libc/involved.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210712090053.3235454-1-stli@linux.ibm.com \
--to=libc-alpha@sourceware.org \
--cc=fweimer@redhat.com \
--cc=stli@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).