summaryrefslogtreecommitdiff
path: root/tests/tests/rpush-source
blob: 465cf1c6d16f0bd1204509a7947c30dede0e5173 (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
#!/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

mkdir $tmp/empty
cd $tmp/empty
t-dgit --ssh=$troot/ssh rpush-source somehost:$tmp/$p

cd $tmp/$p
t-pushed-good dgit/sid

t-ok