From: Stefan Liebler Date: Mon, 12 Jul 2021 09:00:53 +0000 (+0200) Subject: Fix failing nss/tst-nss-files-hosts-long. X-Git-Tag: glibc-2.34~97 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8235f9311bddbe4cf8ff1fa8f72f41aa77e27e00;p=thirdparty%2Fglibc.git 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 --git a/nss/tst-reload1.root/postclean.req b/nss/tst-reload1.root/postclean.req new file mode 100644 index 00000000000..e69de29bb2d