diff --git a/functionaltests/proftest.c b/functionaltests/proftest.c index dbecd117..55892b30 100644 --- a/functionaltests/proftest.c +++ b/functionaltests/proftest.c @@ -14,8 +14,7 @@ #include #include -#define XDG_CONFIG_HOME "./stabbertests/files/xdg_config_home" -#define XDG_DATA_HOME "./stabbertests/files/xdg_data_home" +#include "proftest.h" char *config_orig; char *data_orig; @@ -115,7 +114,7 @@ _create_logs_dir(void) void _cleanup_dirs(void) { - int res = system("rm -rf ./stabbertests/files"); + int res = system("rm -rf ./functionaltests/files"); if (res == -1) { assert_true(FALSE); } diff --git a/functionaltests/proftest.h b/functionaltests/proftest.h index 73e3680e..22a7745f 100644 --- a/functionaltests/proftest.h +++ b/functionaltests/proftest.h @@ -1,8 +1,8 @@ #ifndef __H_PROFTEST #define __H_PROFTEST -#define XDG_CONFIG_HOME "./stabbertests/files/xdg_config_home" -#define XDG_DATA_HOME "./stabbertests/files/xdg_data_home" +#define XDG_CONFIG_HOME "./functionaltests/files/xdg_config_home" +#define XDG_DATA_HOME "./functionaltests/files/xdg_data_home" void init_prof_test(void **state); void close_prof_test(void **state);