Commit 1baa25ee by Vicent Marti

Move test resources to a common directory

All the external resources used by the tests are now placed inside the
common 'tests/resources' directory.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
parent 68535125
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <git/commit.h> #include <git/commit.h>
#include <git/revwalk.h> #include <git/revwalk.h>
static const char *odb_dir = "../t0501-objects"; static const char *odb_dir = "../resources/sample-odb";
static const char *commit_ids[] = { static const char *commit_ids[] = {
"a4a7dce85cf63874e984719f4fdd239f5145052f", /* 0 */ "a4a7dce85cf63874e984719f4fdd239f5145052f", /* 0 */
"9fd738e8f7967c078dceed8190330fc8648ee56a", /* 1 */ "9fd738e8f7967c078dceed8190330fc8648ee56a", /* 1 */
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <git/commit.h> #include <git/commit.h>
#include <git/revwalk.h> #include <git/revwalk.h>
static const char *odb_dir = "../t0501-objects"; static const char *odb_dir = "../resources/sample-odb";
/* /*
$ git log --oneline --graph --decorate $ git log --oneline --graph --decorate
* a4a7dce (HEAD, br2) Merge branch 'master' into br2 * a4a7dce (HEAD, br2) Merge branch 'master' into br2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment