Git fork
1#!/bin/sh
2
3test_description='test disabling of remote-helper paths in clone/fetch'
4
5. ./test-lib.sh
6. "$TEST_DIRECTORY/lib-proto-disable.sh"
7
8setup_ext_wrapper
9
10test_expect_success 'setup repository to clone' '
11 test_commit one &&
12 mkdir remote &&
13 git init --bare remote/repo.git &&
14 git push remote/repo.git HEAD
15'
16
17test_proto "remote-helper" ext "ext::fake-remote %S repo.git"
18
19test_done