File: http-git-check

package info (click to toggle)
dgit 9.13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,216 kB
  • sloc: perl: 11,829; sh: 5,208; makefile: 306; tcl: 69
file content (15 lines) | stat: -rwxr-xr-x 489 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
set -e
. tests/lib

t-dependencies libhttp-server-simple-static-perl

t-setup-done '' --files-from=/dev/null '
 $troot/http-static-server >$tmp/must-clean/git-check.port $tmp/git
 read <$tmp/must-clean/git-check.port git_check_port

 t-git-config --global dgit-distro.test-dummy.git-check        url
 t-git-config --global dgit-distro.test-dummy.git-check-suffix .git/HEAD
 t-git-config --global dgit-distro.test-dummy.git-check-url    \
	   http://127.0.0.1:$git_check_port
'