diff options
author | Florian Weimer <fweimer@redhat.com> | 2015-12-04 19:02:04 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2015-12-04 19:02:12 +0100 |
commit | 731a713b72e1281d58b3304738f04efb7bfca8b7 (patch) | |
tree | ef3fbf86d25bce66bf018c5f8c439d70856df05a /resolv | |
parent | 2cc4b9cce51643ec299e97450ccde4deeecfb083 (diff) | |
download | glibc-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.c | 3 |
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; |