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