about summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2021-07-12 11:00:53 +0200
committerStefan Liebler <stli@linux.ibm.com>2021-07-12 11:59:04 +0200
commit8235f9311bddbe4cf8ff1fa8f72f41aa77e27e00 (patch)
treeb6fd36dde5eb1e0b43b25665d265324695820e6f /nss
parent70099c7763b8c47a4bb1eef1c41601c602a83270 (diff)
downloadglibc-8235f9311bddbe4cf8ff1fa8f72f41aa77e27e00.tar.gz
glibc-8235f9311bddbe4cf8ff1fa8f72f41aa77e27e00.tar.xz
glibc-8235f9311bddbe4cf8ff1fa8f72f41aa77e27e00.zip
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.
Diffstat (limited to 'nss')
-rw-r--r--nss/tst-reload1.root/postclean.req0
1 files 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
--- /dev/null
+++ b/nss/tst-reload1.root/postclean.req