Commit 0582ae6fde94912c4ac7566f151bd0e3b786bb43

Michael Schubert 2013-05-21T13:56:40

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)