mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fixed test file paths
This commit is contained in:
parent
e919445231
commit
d4784db7e1
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user