summaryrefslogtreecommitdiff
path: root/tests/tests/clone-reprepro
blob: 56dc33d7c87e004b3e2477ba60394a7d34545604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
set -e
. tests/lib
. $troot/lib-reprepro

suitespecs+=' stable'

t-dependencies reprepro
t-reprepro

t-archive example 1.0-1
t-git-none

t-dgit clone $p

cd $p
t-cloned-fetched-good

add_pari () {
	local p
	local v
	local suite=stable
	t-archive pari-extra 3-1
}
add_pari

t-dgit fetch unstable,stable

t-refs-same-start
t-refs-same refs/remotes/dgit/sid,stable refs/remotes/dgit/sid

echo ok.