summaryrefslogtreecommitdiff
path: root/tests/tests/push-buildproductsdir
blob: 505d1054b6faa99e6e683dbe0e1fc0f8559c7115 (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
#!/bin/bash
set -e
. tests/lib

t-archive pari-extra 3-1
t-git pari-extra 3-1

t-dgit clone $p

cd $p
t-cloned-fetched-good

v=3-2~dummy1
t-apply-diff 3-1 $v
debcommit -a

t-refs-same-start
t-ref-head

t-dgit --dpkg-buildpackage:-d build

cd ..
mkdir bpd
mv $p*_* bpd/
cd $p

t-dgit --build-products-dir=../bpd push

t-pushed-good dgit/sid

t-ok