tst-res_hconf_reorder: Set RESOLV_REORDER environment variable

Otherwise, the problematic code does not run.
This commit is contained in:
Florian Weimer 2015-12-04 19:02:04 +01:00
parent 2cc4b9cce5
commit 731a713b72
2 changed files with 8 additions and 0 deletions

View File

@ -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> 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
Consistency about byte vs character in string.texi Consistency about byte vs character in string.texi

View File

@ -71,6 +71,9 @@ do_test (void)
unsigned int i; unsigned int i;
int result = 0; int result = 0;
/* Enabled code to be tested. */
setenv ("RESOLV_REORDER", "on", 1);
/* turn on realloc slowdown */ /* turn on realloc slowdown */
ts.tv_nsec = 100000000; ts.tv_nsec = 100000000;