summaryrefslogtreecommitdiff
path: root/tests/tests/quilt
blob: a55e1fbb815bb64f6c8722071a005881707ca717 (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
34
#!/bin/bash
set -e
. tests/lib

t-archive ruby-rails-3.2 3.2.6-1
t-git-none

mkdir -p incoming
cd incoming
t-worktree test
cd ..

t-dgit clone $p

cd $p
t-cloned-fetched-good

git fetch $tmp/incoming/$p dgit/sid:incoming

dummy=0

for cherry in incoming~1 incoming~0; do
	git cherry-pick -x $cherry

	dummy=$(( $dummy + 1))
	v=3.2.6-2~dummy${dummy}

	t-refs-same-start
	t-dgit --dpkg-buildpackage:-d build
	t-dgit push
	t-pushed-good dgit/sid
done

echo ok.