diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2023-04-22 23:38:52 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2023-04-24 11:49:16 +0100 |
commit | 6cec01b4d8498203ae3a03949ffd480845269a3d (patch) | |
tree | f74e7131cd54d02bab2f2844255a623907e0f1a5 | |
parent | dd15c615bde54eb02c5cec17257a83dcd8528371 (diff) | |
download | libgit2-6cec01b4d8498203ae3a03949ffd480845269a3d.tar.gz |
shallow: move tests to online
-rw-r--r-- | tests/libgit2/online/shallow.c (renamed from tests/libgit2/clone/shallow.c) | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/tests/libgit2/clone/shallow.c b/tests/libgit2/online/shallow.c index 28b0116fa..a889a68cd 100644 --- a/tests/libgit2/clone/shallow.c +++ b/tests/libgit2/online/shallow.c @@ -2,14 +2,6 @@ #include "futils.h" #include "repository.h" -void test_clone_shallow__initialize(void) -{ -} - -void test_clone_shallow__cleanup(void) -{ -} - static int remote_single_branch(git_remote **out, git_repository *repo, const char *name, const char *url, void *payload) { GIT_UNUSED(payload); @@ -19,7 +11,7 @@ static int remote_single_branch(git_remote **out, git_repository *repo, const ch return 0; } -void test_clone_shallow__clone_depth_zero(void) +void test_online_shallow__clone_depth_zero(void) { git_str path = GIT_STR_INIT; git_repository *repo; @@ -45,7 +37,7 @@ void test_clone_shallow__clone_depth_zero(void) git_repository_free(repo); } -void test_clone_shallow__clone_depth_one(void) +void test_online_shallow__clone_depth_one(void) { git_str path = GIT_STR_INIT; git_repository *repo; @@ -86,7 +78,7 @@ void test_clone_shallow__clone_depth_one(void) git_repository_free(repo); } -void test_clone_shallow__clone_depth_five(void) +void test_online_shallow__clone_depth_five(void) { git_str path = GIT_STR_INIT; git_repository *repo; @@ -129,7 +121,7 @@ void test_clone_shallow__clone_depth_five(void) git_repository_free(repo); } -void test_clone_shallow__unshallow(void) +void test_online_shallow__unshallow(void) { git_str path = GIT_STR_INIT; git_repository *repo; |