about summary refs log tree commit diff
path: root/resolv/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-07-24 12:06:47 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-07-24 12:07:24 +0200
commitaf625987d619388a100b153520d3ee308bda9889 (patch)
tree0beb50158d4d65c0e0e5911194c7ff039dfa62c3 /resolv/Makefile
parent691a3b2e9bfaba842e46a5ccb7f5e6ea144c3ade (diff)
downloadglibc-af625987d619388a100b153520d3ee308bda9889.tar.gz
glibc-af625987d619388a100b153520d3ee308bda9889.tar.xz
glibc-af625987d619388a100b153520d3ee308bda9889.zip
resolv: Do not wait for non-existing second DNS response after error (bug 30081)
In single-request mode, there is no second response after an error
because the second query has not been sent yet.  Waiting for it
introduces an unnecessary timeout.

Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'resolv/Makefile')
-rw-r--r--resolv/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/resolv/Makefile b/resolv/Makefile
index d927e337d9..abff7fc007 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -106,6 +106,7 @@ tests += \
   tst-resolv-nondecimal \
   tst-resolv-res_init-multi \
   tst-resolv-search \
+  tst-resolv-semi-failure \
   tst-resolv-short-response \
   tst-resolv-trailing \
 
@@ -300,6 +301,8 @@ $(objpfx)tst-resolv-nondecimal: $(objpfx)libresolv.so $(shared-thread-library)
 $(objpfx)tst-resolv-qtypes: $(objpfx)libresolv.so $(shared-thread-library)
 $(objpfx)tst-resolv-rotate: $(objpfx)libresolv.so $(shared-thread-library)
 $(objpfx)tst-resolv-search: $(objpfx)libresolv.so $(shared-thread-library)
+$(objpfx)tst-resolv-semi-failure: $(objpfx)libresolv.so \
+  $(shared-thread-library)
 $(objpfx)tst-resolv-short-response: $(objpfx)libresolv.so \
   $(shared-thread-library)
 $(objpfx)tst-resolv-trailing: $(objpfx)libresolv.so $(shared-thread-library)