From d4784db7e1cb4d6bb85cbd8a0caddafb7a7afdec Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 28 May 2015 19:01:49 +0100 Subject: [PATCH] Fixed test file paths --- functionaltests/proftest.c | 5 ++--- functionaltests/proftest.h | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) 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);