summaryrefslogtreecommitdiff
path: root/tests/test_helpers.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-09-02 13:44:42 +0200
committerVicent Marti <tanoku@gmail.com>2011-09-15 01:14:36 +0200
commit56453d346864e312ec138626a3fc920c39890f0d (patch)
tree3653456e1c93d7e41e7688a306d3f519167e180b /tests/test_helpers.h
parent3601c4bfce3df04ebfc8668e5db531ded39280a9 (diff)
downloadlibgit2-56453d346864e312ec138626a3fc920c39890f0d.tar.gz
status: enhance determination of status for a single file
- fix retrieval of a file status when working against a newly initialized repository - reduce memory pressure - prevents a directory from being tested
Diffstat (limited to 'tests/test_helpers.h')
-rw-r--r--tests/test_helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_helpers.h b/tests/test_helpers.h
index 75027dd6f..53361b7b1 100644
--- a/tests/test_helpers.h
+++ b/tests/test_helpers.h
@@ -37,6 +37,7 @@
#define TEST_INDEX_PATH (REPOSITORY_FOLDER "index")
#define TEST_INDEX2_PATH (TEST_RESOURCES "/gitgit.index")
#define TEST_INDEXBIG_PATH (TEST_RESOURCES "/big.index")
+#define EMPTY_REPOSITORY_FOLDER TEST_RESOURCES "/empty_standard_repo/.gitted/"
#define TEMP_FOLDER ""
#define TEMP_REPO_FOLDER TEMP_FOLDER TEST_REPOSITORY_NAME "/"