summaryrefslogtreecommitdiffstats
path: root/src/tests/stress-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/stress-tests.c')
-rw-r--r--src/tests/stress-tests.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/stress-tests.c b/src/tests/stress-tests.c
index 94505318..3b537357 100644
--- a/src/tests/stress-tests.c
+++ b/src/tests/stress-tests.c
@@ -30,6 +30,7 @@
#include <errno.h>
#include "util/util.h"
+#include "tests/common.h"
#define DEFAULT_START 10
#define DEFAULT_STOP 20
@@ -247,6 +248,8 @@ int main(int argc, const char *argv[])
}
poptFreeContext(pc);
+ tests_set_cwd();
+
verbose = pc_verbosity;
if (pc_prefix) {