]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
tst-res_hconf_reorder: Set RESOLV_REORDER environment variable
authorFlorian Weimer <fweimer@redhat.com>
Fri, 4 Dec 2015 18:02:04 +0000 (19:02 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 4 Dec 2015 18:02:12 +0000 (19:02 +0100)
Otherwise, the problematic code does not run.

ChangeLog
resolv/tst-res_hconf_reorder.c

index 266df03ef4e9cedf2f2177118e8de6b29c90a481..cdac9ea1f27895e7387fc585706769d25c5e2c5f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-04  Florian Weimer  <fweimer@redhat.com>
+
+       * resolv/tst-res_hconf_reorder.c (do_test): Set RESOLV_REORDER
+       environment variable.
+
 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
 
        Consistency about byte vs character in string.texi
index 1e7e0e2fa5aa8735c9dfcdc542039b670214dd1a..7b2c66c69671a313ad132797d876046bf78694e2 100644 (file)
@@ -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;