about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-05-28 19:01:49 +0100
committerJames Booth <boothj5@gmail.com>2015-05-28 19:01:49 +0100
commitd4784db7e1cb4d6bb85cbd8a0caddafb7a7afdec (patch)
tree86524843da6b5e0569c82ddc73c69f8d501146d7
parente919445231467706eaadaa3bc2483f9a462a4cd3 (diff)
downloadprofani-tty-d4784db7e1cb4d6bb85cbd8a0caddafb7a7afdec.tar.gz
Fixed test file paths
-rw-r--r--functionaltests/proftest.c5
-rw-r--r--functionaltests/proftest.h4
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 <stabber.h>
 #include <expect.h>
 
-#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);