chiark / gitweb /
test suite: Test bad commit defence in drs-push-rejects
[dgit.git] / tests / tests / clone-reprepro
1 #!/bin/bash
2 set -e
3 . tests/lib
4 . $troot/lib-reprepro
5
6 suitespecs+=' stable'
7
8 t-dependencies reprepro
9 t-reprepro
10 t-tstunt-parsechangelog
11
12 t-archive example 1.0-1
13 t-git-none
14
15 t-dgit clone $p
16
17 cd $p
18 t-cloned-fetched-good
19
20 add_pari () {
21         local p
22         local v
23         local suite=stable
24         t-archive pari-extra 3-1
25 }
26 add_pari
27
28 t-dgit fetch unstable,stable
29
30 t-refs-same-start
31 t-refs-same refs/remotes/dgit/sid,stable refs/remotes/dgit/sid
32
33 echo ok.