summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-07-31 17:59:03 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2014-08-14 10:18:20 -0500
commitaea676336ceade0c1d07c1aea2f484289ce3c860 (patch)
tree06f6cb8378e5fb83df6a1f504927f9dc868edc48
parentfb48a51c6339e746197cf6c31dafbe692ddcb6ae (diff)
downloadlibgit2-aea676336ceade0c1d07c1aea2f484289ce3c860.tar.gz
Don't run the ssh clone tests against http remotes
-rw-r--r--tests/online/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/online/clone.c b/tests/online/clone.c
index b672a099a..88aacbd43 100644
--- a/tests/online/clone.c
+++ b/tests/online/clone.c
@@ -346,7 +346,7 @@ void test_online_clone__ssh_with_paths(void)
const char *remote_url = cl_getenv("GITTEST_REMOTE_URL");
const char *remote_user = cl_getenv("GITTEST_REMOTE_USER");
- if (!remote_url || !remote_user)
+ if (!remote_url || !remote_user || strncmp(remote_url, "ssh://", 5) != 0)
clar__skip();
g_options.remote_cb = custom_remote_ssh_with_paths;