chiark / gitweb /
changelog: start 9.14
[dgit.git] / tests / setup / http-git-check
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-dependencies libhttp-server-simple-static-perl
6
7 t-setup-done '' --files-from=/dev/null '
8  $troot/http-static-server >$tmp/must-clean/git-check.port $tmp/git
9  read <$tmp/must-clean/git-check.port git_check_port
10
11  t-git-config --global dgit-distro.test-dummy.git-check        url
12  t-git-config --global dgit-distro.test-dummy.git-check-suffix .git/HEAD
13  t-git-config --global dgit-distro.test-dummy.git-check-url    \
14            http://127.0.0.1:$git_check_port
15 '