test-nss-hosts: treat negative host lookup as slow
commitf44d95ace5e6ebcc7bc387eb6c0cc5c6c9476346
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 22 Feb 2024 10:35:07 +0000 (22 11:35 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 28 Feb 2024 00:15:39 +0000 (28 00:15 +0000)
tree1af980caf779df8c05ddf7683fb0dde8b22e1d8e
parent43b951a4fdb3ff38386a05ba2687664325786b5c
test-nss-hosts: treat negative host lookup as slow

The negative lookup can be quite slow. On my local network, skipping
this test saves about half of the runtime of test-nss-hosts.

(cherry picked from commit 37eba4b3028da9de7e6fb42557019f98bbda91b1)
(cherry picked from commit 4b7aaef13fb81c8ed779274d9e9b3406d605c124)
src/test/test-nss-hosts.c