Skip to content

Commit

Permalink
tst-res_hconf_reorder: Set RESOLV_REORDER environment variable
Browse files Browse the repository at this point in the history
Otherwise, the problematic code does not run.
  • Loading branch information
Florian Weimer committed Dec 4, 2015
1 parent 2cc4b9c commit 731a713
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions resolv/tst-res_hconf_reorder.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 731a713

Please sign in to comment.