summaryrefslogtreecommitdiffstats
path: root/src/tests/resolv-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/resolv-tests.c')
-rw-r--r--src/tests/resolv-tests.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/resolv-tests.c b/src/tests/resolv-tests.c
index b56dc9e87..ad89aaf6d 100644
--- a/src/tests/resolv-tests.c
+++ b/src/tests/resolv-tests.c
@@ -33,6 +33,7 @@
#include "tests/common.h"
#include "util/util.h"
+#include "tests/common.h"
/* Interface under test */
#include "resolv/async_resolv.h"
@@ -862,6 +863,8 @@ int main(int argc, const char *argv[])
"option to run the full suite of tests\n");
}
+ tests_set_cwd();
+
resolv_suite = create_resolv_suite();
sr = srunner_create(resolv_suite);
/* If CK_VERBOSITY is set, use that, otherwise it defaults to CK_NORMAL */