chiark / gitweb /
git-debrebase: merge: test suite: Check wreckage saving
[dgit.git] / tests / tests / push-source-with-changes
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-tstunt-parsechangelog
6
7 t-prep-newpackage example 1.0
8
9 cd $p
10
11 t-refs-same-start
12 t-ref-head
13
14 # (1) try pushing a changes file containing binaries
15
16 t-dgit --dpkg-buildpackage:-d build -F
17
18 t-expect-push-fail 'user-specified changes file is not source-only' \
19 t-dgit -C ../${p}_1.0_multi.changes push-source --new
20
21 # (2) try pushing a source-only changes file
22
23 t-dgit --dpkg-buildpackage:-d build-source
24 t-dgit -C ../${p}_1.0_source.changes push-source --new
25
26 t-pushed-good master
27 t-push-was-source-only
28
29 t-ok