about summary refs log tree commit diff
path: root/nss/Makefile
diff options
context:
space:
mode:
authorPatsy Franklin <pfrankli@redhat.com>2019-01-30 18:49:27 -0500
committerPatsy Franklin <patsy@redhat.com>2019-02-08 14:38:27 -0500
commit11eb21c4659ae0bde83bcd070bc9a0f94fb3576b (patch)
tree466403279df7abfb57f823a245a0112e719c9f63 /nss/Makefile
parente47d82c99a6db060419b421768aced76bea92997 (diff)
downloadglibc-11eb21c4659ae0bde83bcd070bc9a0f94fb3576b.tar.gz
glibc-11eb21c4659ae0bde83bcd070bc9a0f94fb3576b.tar.xz
glibc-11eb21c4659ae0bde83bcd070bc9a0f94fb3576b.zip
nss: Add tst-nss-files-hosts-long test [BZ #21915]
When the /etc/hosts file has a line longer than 1028
characters getent ahostsv4 and ahostsv6 will fail.

This test performs a getent call on a /etc/hosts file that contains
a very long line (greater than 1028) using the test-in-container
framework.
Diffstat (limited to 'nss/Makefile')
-rw-r--r--nss/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/nss/Makefile b/nss/Makefile
index e66e01d45a..a8caa8af38 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -60,7 +60,8 @@ tests			= test-netdb test-digits-dots tst-nss-getpwent bug17079 \
 xtests			= bug-erange
 
 tests-container = \
-			  tst-nss-test3
+			  tst-nss-test3 \
+			  tst-nss-files-hosts-long
 
 # Tests which need libdl
 ifeq (yes,$(build-shared))