chiark / gitweb /
Test suite: quilt-gb-build-modes: Fixes, passes now
[dgit.git] / tests / tests / quilt-gbp
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-tstunt-parsechangelog
6
7 t-newtag
8
9 t-gbp-example-prep
10
11 t-expect-fail 'quilt fixup cannot be linear' \
12   t-dgit build-source
13
14 t-dgit --quilt=gbp build-source
15
16 t-dgit --quilt=gbp --gbp=no-such-command-gbp build-source
17
18 echo spong >debian/pointless-for-dgit-test
19 git add debian/pointless-for-dgit-test
20 git commit -m Pointless
21
22 t-expect-fail no-such-command-gbp \
23 t-dgit --quilt=gbp --clean=git --gbp=no-such-command-gbp build-source
24
25 t-dgit --quilt=gbp --clean=git build-source
26
27 t-expect-fail 'specifies a different tree to your HEAD commit' \
28   t-dgit push
29
30 t-refs-same-start
31 t-ref-head
32
33 t-dgit --quilt=gbp push
34
35 t-gbp-pushed-good
36
37 exit 0
38
39 ===
40
41 want to
42
43 make a new change
44
45 push it
46
47 check that the synthetic fast forward worked