diff options
author | Jameson Miller <jamill@microsoft.com> | 2012-12-14 02:58:12 +0400 |
---|---|---|
committer | Jameson Miller <jamill@microsoft.com> | 2012-12-14 02:58:12 +0400 |
commit | 8a8820d89fce2831e4a3efffcd9b75cbc479152a (patch) | |
tree | 15621d929ac5a1e7111ad784378f8fa60a02ba7e /tests-clar/clone | |
parent | cb2ace69f453c598e97697fda449e8ce75fd5c0a (diff) |
Add test to clone with absolute path
Diffstat (limited to 'tests-clar/clone')
-rw-r--r-- | tests-clar/clone/nonetwork.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests-clar/clone/nonetwork.c b/tests-clar/clone/nonetwork.c index fbebe5460..84327081e 100644 --- a/tests-clar/clone/nonetwork.c +++ b/tests-clar/clone/nonetwork.c @@ -39,6 +39,14 @@ void test_clone_nonetwork__local(void) cl_git_pass(git_clone(&g_repo, src, "./local", NULL, NULL, NULL)); } +void test_clone_nonetwork__local_absolute_path(void) +{ + const char *src = cl_fixture("testrepo.git"); + cl_set_cleanup(&cleanup_repository, "./local"); + + cl_git_pass(git_clone(&g_repo, src, "./local", NULL, NULL, NULL)); +} + void test_clone_nonetwork__local_bare(void) { const char *src = cl_git_fixture_url("testrepo.git"); |