Commit 63908cee27e85949130f9b0a187c316f1d98b3a2

Vicent Martí 2013-05-27T03:24:52

Merge pull request #1613 from schu/transport-ssh tests: don't verify SSH unsupported with GIT_SSH

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/tests-clar/network/remote/remotes.c b/tests-clar/network/remote/remotes.c
index 21f27bc..34f1c05 100644
--- a/tests-clar/network/remote/remotes.c
+++ b/tests-clar/network/remote/remotes.c
@@ -100,7 +100,9 @@ void test_network_remote_remotes__supported_transport_methods_are_supported(void
 
 void test_network_remote_remotes__unsupported_transport_methods_are_unsupported(void)
 {
+#ifndef GIT_SSH
 	cl_assert( !git_remote_supported_url("git@github.com:libgit2/libgit2.git") );
+#endif
 }
 
 void test_network_remote_remotes__refspec_parsing(void)