chiark / gitweb /
test suite: tagupl: Test a really broken tag
[dgit.git] / tests / tests / forcesplit-linear
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-tstunt-parsechangelog
6 t-buildproductsdir-config
7
8 t-archive example 1.0-1
9 t-select-package example
10 t-git-none
11
12 t-dgit clone $p
13 cd $p
14
15 echo '/* More patch */' >>src.c
16 git add src.c
17
18 t-commit 'More patch' 1.0-2
19
20 t-refs-same-start
21 t-ref-head
22 t-dgit --split-view push-source
23 t-ref-head
24
25
26 t-commit 'More more patch' 1.0-3
27
28 t-dgit --split-view --save-dgit-view=split.b quilt-fixup
29
30 git reflog expire --expire=all refs/dgit-intern/quilt-cache
31 test "x$(git reflog refs/dgit-intern/quilt-cache)" = x
32
33 t-refs-same-start
34 t-ref-head
35 t-dgit --split-view --save-dgit-view=split.p push-source
36 t-ref-head
37
38 suite=sid
39
40 t-splitbrain-pushed-good-start
41 t-splitbrain-pushed-good--unpack
42 t-splitbrain-rm-1-patch more-patch.patch
43 t-splitbrain-pushed-good-end-made-dep14
44
45 t-ok