summaryrefslogtreecommitdiff
path: root/tests/tests/clone-reprepro
blob: 063a1387de18d236a4a14a84515f378b0e4d5d0d (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
33
#!/bin/bash
set -e
. tests/lib
. $troot/lib-reprepro

suitespecs+=' stable'

t-dependencies reprepro
t-reprepro
t-tstunt-parsechangelog

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

t-ok