about summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2015-12-04 19:02:04 +0100
committerFlorian Weimer <fweimer@redhat.com>2015-12-04 19:02:12 +0100
commit731a713b72e1281d58b3304738f04efb7bfca8b7 (patch)
treeef3fbf86d25bce66bf018c5f8c439d70856df05a /resolv
parent2cc4b9cce51643ec299e97450ccde4deeecfb083 (diff)
downloadglibc-731a713b72e1281d58b3304738f04efb7bfca8b7.tar.gz
glibc-731a713b72e1281d58b3304738f04efb7bfca8b7.tar.xz
glibc-731a713b72e1281d58b3304738f04efb7bfca8b7.zip
tst-res_hconf_reorder: Set RESOLV_REORDER environment variable
Otherwise, the problematic code does not run.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/tst-res_hconf_reorder.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/resolv/tst-res_hconf_reorder.c b/resolv/tst-res_hconf_reorder.c
index 1e7e0e2fa5..7b2c66c696 100644
--- a/resolv/tst-res_hconf_reorder.c
+++ b/resolv/tst-res_hconf_reorder.c
@@ -71,6 +71,9 @@ do_test (void)
   unsigned int i;
   int result = 0;
 
+  /* Enabled code to be tested.  */
+  setenv ("RESOLV_REORDER", "on", 1);
+
   /* turn on realloc slowdown */
   ts.tv_nsec = 100000000;