summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-02-19 12:14:06 -0500
committerEdward Thomson <ethomson@microsoft.com>2015-02-19 12:14:06 -0500
commitfeb0e022867552c039c02fe39db7b7c3d63ae327 (patch)
tree4942f004cbd7ccd5da6be23ec171b10e340cab69 /tests
parent9c9aa1bad3b364f7dfdccd5f6abe880f7e18c499 (diff)
downloadlibgit2-feb0e022867552c039c02fe39db7b7c3d63ae327.tar.gz
tests: separate INVASIVE filesystem tests
Introduce GITTEST_INVASIVE_FS_STRUCTURE for things that are invasive to your filesystem structure (like creating folders at your filesystem root) and GITTEST_INVASIVE_FS_SIZE for things that write lots of data.
Diffstat (limited to 'tests')
-rw-r--r--tests/filter/stream.c2
-rw-r--r--tests/repo/init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/filter/stream.c b/tests/filter/stream.c
index 4dafce42e..603f19494 100644
--- a/tests/filter/stream.c
+++ b/tests/filter/stream.c
@@ -214,7 +214,7 @@ void test_filter_stream__smallfile(void)
/* optionally write a 500 MB file through the compression stream */
void test_filter_stream__bigfile(void)
{
- if (!cl_getenv("GITTEST_INVASIVE_FILESYSTEM"))
+ if (!cl_getenv("GITTEST_INVASIVE_FS_SIZE"))
cl_skip();
test_stream(51200);
diff --git a/tests/repo/init.c b/tests/repo/init.c
index 91747c9f5..076156817 100644
--- a/tests/repo/init.c
+++ b/tests/repo/init.c
@@ -722,7 +722,7 @@ void test_repo_init__at_filesystem_root(void)
git_buf root = GIT_BUF_INIT;
int root_len;
- if (!cl_getenv("GITTEST_INVASIVE_FILESYSTEM"))
+ if (!cl_getenv("GITTEST_INVASIVE_FS_STRUCTURE"))
cl_skip();
root_len = git_path_root(sandbox);