Start the 2.46 cycle
[git/gitster.git] / t / t5811-proto-disable-git.sh
blobed773e7432694b7ccc05a4d09084f238c9ff4b42
1 #!/bin/sh
3 test_description='test disabling of git-over-tcp in clone/fetch'
5 TEST_PASSES_SANITIZE_LEAK=true
6 . ./test-lib.sh
7 . "$TEST_DIRECTORY/lib-proto-disable.sh"
8 . "$TEST_DIRECTORY/lib-git-daemon.sh"
9 start_git_daemon
11 test_expect_success 'create git-accessible repo' '
12 bare="$GIT_DAEMON_DOCUMENT_ROOT_PATH/repo.git" &&
13 test_commit one &&
14 git --bare init "$bare" &&
15 git push "$bare" HEAD &&
16 >"$bare/git-daemon-export-ok" &&
17 git -C "$bare" config daemon.receivepack true
20 test_proto "git://" git "$GIT_DAEMON_URL/repo.git"
22 test_done