blob: cedcf1faa1755648a082f0cc14d4ca87d132141a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
set -e
. tests/lib
t-dependencies libhttp-server-simple-static-perl
$troot/http-static-server >$tmp/must-clean/mirror.port $tmp/mirror
read <$tmp/must-clean/mirror.port mirror_port
t-git-config --global dgit-distro.test-dummy.mirror \
http://127.0.0.1:$mirror_port/
t_archive_ln_s=cp
t-archive example 1.0-1
t-git-none
t-dgit clone $p
cd $p
t-cloned-fetched-good
t-ok
|