summaryrefslogtreecommitdiff
path: root/t/t5814-proto-disable-ext.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-09-28 15:28:26 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-09-28 15:28:31 -0700
commit6343e2f6f271cf344ea8e7384342502faecaf37c (patch)
tree50abed20e4b930022a24b64389915f7c774acef9 /t/t5814-proto-disable-ext.sh
parentGit 2.4.9 (diff)
parentGit 2.3.10 (diff)
downloadtgif-6343e2f6f271cf344ea8e7384342502faecaf37c.tar.xz
Sync with 2.3.10
Diffstat (limited to 't/t5814-proto-disable-ext.sh')
-rwxr-xr-xt/t5814-proto-disable-ext.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/t/t5814-proto-disable-ext.sh b/t/t5814-proto-disable-ext.sh
new file mode 100755
index 0000000000..9d6f7dfa2c
--- /dev/null
+++ b/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