diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-09-28 14:33:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-09-28 14:33:27 -0700 |
commit | df37727a65c87cf9bba35befca1255031649553f (patch) | |
tree | 1b94b1eff66ebbc258722f59b60ca64eac0c6de3 /t/t5810-proto-disable-local.sh | |
parent | Git 2.3.9 (diff) | |
parent | submodule: allow only certain protocols for submodule fetches (diff) | |
download | tgif-df37727a65c87cf9bba35befca1255031649553f.tar.xz |
Merge branch 'jk/transfer-limit-protocol' into maint-2.3
Diffstat (limited to 't/t5810-proto-disable-local.sh')
-rwxr-xr-x | t/t5810-proto-disable-local.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/t/t5810-proto-disable-local.sh b/t/t5810-proto-disable-local.sh new file mode 100755 index 0000000000..563592d8a8 --- /dev/null +++ b/t/t5810-proto-disable-local.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +test_description='test disabling of local paths in clone/fetch' +. ./test-lib.sh +. "$TEST_DIRECTORY/lib-proto-disable.sh" + +test_expect_success 'setup repository to clone' ' + test_commit one +' + +test_proto "file://" file "file://$PWD" +test_proto "path" file . + +test_done |