summaryrefslogtreecommitdiff
path: root/tests/tests/push-source-with-changes
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2018-07-25 21:05:28 +0800
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-07-26 04:56:35 +0100
commit599ee8fbfde3786781d36944caac72353aee99e3 (patch)
treeb4e9e38b3edc5231d6161c8735038bd2c8d40593 /tests/tests/push-source-with-changes
parent8f6bfa045b93231a81821ef49222168b223d31e2 (diff)
dgit: make $need_split_build_invocation always true
dgit will always build the source package. One minor consequence is that dgit will usualliy generate *_multi.changes rather than *_$arch.changes, so we need to update the one test that makes the contrary assumption. Bump the dgit major version number as this is quite a significant change in implementation and also a behavioural change. This change makes a lot of code dead. Removing that is left as a task for the future. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name> Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests/push-source-with-changes')
-rwxr-xr-xtests/tests/push-source-with-changes4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/tests/push-source-with-changes b/tests/tests/push-source-with-changes
index b9a3906..580ea3a 100755
--- a/tests/tests/push-source-with-changes
+++ b/tests/tests/push-source-with-changes
@@ -2,8 +2,6 @@
set -e
. tests/lib
-arch=$(dpkg-architecture -qDEB_BUILD_ARCH)
-
t-tstunt-parsechangelog
t-prep-newpackage example 1.0
@@ -18,7 +16,7 @@ t-ref-head
t-dgit --dpkg-buildpackage:-d build -F
t-expect-push-fail 'user-specified changes file is not source-only' \
-t-dgit -C ../${p}_1.0_${arch}.changes push-source --new
+t-dgit -C ../${p}_1.0_multi.changes push-source --new
# (2) try pushing a source-only changes file