mirror of
https://github.com/git/git.git
synced 2024-11-28 04:23:30 +08:00
19 lines
390 B
Bash
19 lines
390 B
Bash
|
#!/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
|