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>
This commit is contained in:
Vicent Marti 2010-07-20 23:56:18 +02:00
parent 68535125b3
commit 1baa25ee9b
25 changed files with 2 additions and 2 deletions

Binary file not shown.

BIN
tests/resources/index Normal file

Binary file not shown.

View File

@ -6,7 +6,7 @@
#include <git/commit.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[] = {
"a4a7dce85cf63874e984719f4fdd239f5145052f", /* 0 */
"9fd738e8f7967c078dceed8190330fc8648ee56a", /* 1 */

View File

@ -6,7 +6,7 @@
#include <git/commit.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
* a4a7dce (HEAD, br2) Merge branch 'master' into br2