summaryrefslogtreecommitdiffstats
path: root/src/tests/debug-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/debug-tests.c')
-rw-r--r--src/tests/debug-tests.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/debug-tests.c b/src/tests/debug-tests.c
index 40dd2e98b..a751d836c 100644
--- a/src/tests/debug-tests.c
+++ b/src/tests/debug-tests.c
@@ -28,6 +28,7 @@
#include <errno.h>
#include <string.h>
#include "util/util.h"
+#include "tests/common.h"
#define DEBUG_TEST_ERROR -1
#define DEBUG_TEST_NOK 1
@@ -1022,6 +1023,8 @@ int main(int argc, const char *argv[])
{
int number_failed;
+ tests_set_cwd();
+
Suite *s = debug_suite();
SRunner *sr = srunner_create(s);