nss: Add tst-nss-files-hosts-long test [BZ #21915]
authorPatsy Franklin <pfrankli@redhat.com>
Wed, 30 Jan 2019 23:49:27 +0000 (18:49 -0500)
committerPatsy Franklin <patsy@redhat.com>
Fri, 8 Feb 2019 19:38:27 +0000 (14:38 -0500)
commit11eb21c4659ae0bde83bcd070bc9a0f94fb3576b
tree466403279df7abfb57f823a245a0112e719c9f63
parente47d82c99a6db060419b421768aced76bea92997
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.
ChangeLog
nss/Makefile
nss/tst-nss-files-hosts-long.c [new file with mode: 0644]
nss/tst-nss-files-hosts-long.root/etc/hosts [new file with mode: 0644]