diff options
Diffstat (limited to 'third_party/git/t/t5814-proto-disable-ext.sh')
-rwxr-xr-x | third_party/git/t/t5814-proto-disable-ext.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/git/t/t5814-proto-disable-ext.sh b/third_party/git/t/t5814-proto-disable-ext.sh new file mode 100755 index 000000000000..9d6f7dfa2cc3 --- /dev/null +++ b/third_party/git/t/t5814-proto-disable-ext.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +test_description='test disabling of remote-helper paths in clone/fetch' +. ./test-lib.sh +. "$TEST_DIRECTORY/lib-proto-disable.sh" + +setup_ext_wrapper + +test_expect_success 'setup repository to clone' ' + test_commit one && + mkdir remote && + git init --bare remote/repo.git && + git push remote/repo.git HEAD +' + +test_proto "remote-helper" ext "ext::fake-remote %S repo.git" + +test_done |