mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 22:01:26 +00:00
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:
parent
68535125b3
commit
1baa25ee9b
BIN
tests/resources/gitgit.index
Normal file
BIN
tests/resources/gitgit.index
Normal file
Binary file not shown.
BIN
tests/resources/index
Normal file
BIN
tests/resources/index
Normal file
Binary file not shown.
@ -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 */
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user