chiark / gitweb /
changelog: start 9.14
[dgit.git] / tests / tests / gdr-makepatches7
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-dependencies GDR
6
7 t-tstunt-parsechangelog
8 t-setup-import gdr-convert-gbp
9
10 cd $p
11
12 git checkout upstream/2.0
13 echo '*patch*' >>.gitignore
14 git commit -m nasty .gitignore
15 git tag v2.1
16 t-make-orig $p 2.1
17
18 git checkout master
19 t-git-debrebase new-upstream 2.1-1
20
21 t-some-changes for-rebase-fixup m
22
23 t-git-debrebase
24 t-git-debrebase make-patches
25
26 t-some-changes for-dgit-fixup m
27
28 t-git-debrebase
29
30 t-expect-fail 'dgit: failed command: false' \
31 t-dgit -wgf --git-debrebase=false quilt-fixup
32
33 git branch before-gdr-true
34 t-dgit -wgf --git-debrebase=true quilt-fixup
35
36 git reset --hard before-gdr-true
37 t-dgit -wgf --git-debrebase=no-such-command-exists quilt-fixup
38
39 t-some-changes for-make-patches-fails-then-dgit-fixup m
40
41 t-expect-fail 'Patch export produced patch amendments' \
42 t-git-debrebase make-patches
43
44 t-dgit -wgf quilt-fixup
45
46 t-refs-same-start
47 t-ref-head
48 t-dgit -wg quilt-fixup
49 t-ref-head
50
51 t-ok