Merge branch 'jc/exclusion-doc'
[alt-git.git] / t / t5813-proto-disable-ssh.sh
bloba954ead8af882002d3e8bbb6dad8c52190f794c7
1 #!/bin/sh
3 test_description='test disabling of git-over-ssh in clone/fetch'
4 . ./test-lib.sh
5 . "$TEST_DIRECTORY/lib-proto-disable.sh"
7 setup_ssh_wrapper
9 test_expect_success 'setup repository to clone' '
10 test_commit one &&
11 mkdir remote &&
12 git init --bare remote/repo.git &&
13 git push remote/repo.git HEAD
16 test_proto "host:path" ssh "remote:repo.git"
17 test_proto "ssh://" ssh "ssh://remote$PWD/remote/repo.git"
18 test_proto "git+ssh://" ssh "git+ssh://remote$PWD/remote/repo.git"
20 test_done