aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-05 16:39:21 -0300
committerEuAndreh <eu@euandre.org>2021-08-05 16:39:50 -0300
commit4dd5693f815b133054966e580866c9f360abf957 (patch)
tree57daa25d161e458f4fb6e21eb9709c98bc19876d /src
parentMakefile: Add "c-dev-check" target with Valgrind (diff)
downloadgistatic-4dd5693f815b133054966e580866c9f360abf957.tar.gz
gistatic-4dd5693f815b133054966e580866c9f360abf957.tar.xz
Move tests/resources{ => /repositories}/repo*
Diffstat (limited to 'src')
-rw-r--r--src/gistatic.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gistatic.c b/src/gistatic.c
index 3ce77bc..d07cf17 100644
--- a/src/gistatic.c
+++ b/src/gistatic.c
@@ -949,11 +949,12 @@ cleanup:
static void test_last_commit_date() {
test_start("test_last_commit_date");
{
- testing("embedded Git repository tests/resources/repo-1");
+ testing("embedded Git repository"
+ " tests/resources/repositories/repo-1");
struct git_repository *repo;
const int e = git_repository_open_ext(
&repo,
- "tests/resources/repo-1",
+ "tests/resources/repositories/repo-1",
GIT_REPOSITORY_OPEN_NO_SEARCH,
NULL
);
@@ -966,11 +967,12 @@ static void test_last_commit_date() {
test_ok();
}
{
- testing("embedded Git repository tests/resources/repo-2");
+ testing("embedded Git repository"
+ " tests/resources/repositories/repo-2");
struct git_repository *repo;
const int e = git_repository_open_ext(
&repo,
- "tests/resources/repo-2",
+ "tests/resources/repositories/repo-2",
GIT_REPOSITORY_OPEN_NO_SEARCH,
NULL
);