5 arch=$(dpkg-architecture -qDEB_BUILD_ARCH)
7 t-tstunt-parsechangelog
9 t-prep-newpackage example 1.0
16 # (1) try pushing a changes file containing binaries
18 t-dgit --dpkg-buildpackage:-d build -F
20 t-expect-push-fail 'user-specified changes file is not source-only' \
21 t-dgit -C ../${p}_1.0_${arch}.changes push-source --new
23 # (2) try pushing a source-only changes file
25 t-dgit --dpkg-buildpackage:-d build-source
26 t-dgit -C ../${p}_1.0_source.changes push-source --new
29 t-push-was-source-only