t / t5811-proto-disable-git.shon commit Merge branch 'dp/submodule-doc-markup-fix' (62fef5c)
   1#!/bin/sh
   2
   3test_description='test disabling of git-over-tcp in clone/fetch'
   4. ./test-lib.sh
   5. "$TEST_DIRECTORY/lib-proto-disable.sh"
   6. "$TEST_DIRECTORY/lib-git-daemon.sh"
   7start_git_daemon
   8
   9test_expect_success 'create git-accessible repo' '
  10        bare="$GIT_DAEMON_DOCUMENT_ROOT_PATH/repo.git" &&
  11        test_commit one &&
  12        git --bare init "$bare" &&
  13        git push "$bare" HEAD &&
  14        >"$bare/git-daemon-export-ok" &&
  15        git -C "$bare" config daemon.receivepack true
  16'
  17
  18test_proto "git://" git "$GIT_DAEMON_URL/repo.git"
  19
  20test_done