1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fixed test file paths

This commit is contained in:
James Booth 2015-05-28 19:01:49 +01:00
parent e919445231
commit d4784db7e1
2 changed files with 4 additions and 5 deletions

View File

@ -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);
}

View File

@ -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);