mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-04 21:21:02 +00:00
Don't run the ssh clone tests against http remotes
This commit is contained in:
parent
fb48a51c63
commit
aea676336c
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user