summaryrefslogtreecommitdiff
path: root/tests/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2022-09-03 17:22:13 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2022-09-03 20:14:26 +0100
commit0b07305b2981e843e714eca0c9fbbc58e4fc1e84 (patch)
tree9fea58101be52bdaaf24110e1e1a1b347c058f27 /tests/tests
parent7d313a9c9f9bbe30d865b34a70e390804c863455 (diff)
dgit: unrepresentable check: Restrict occurrence of LATE:
This represents a poor outcome which happily no longer occurs unless the user is using the deprecated-by-us "single-debian-patch" features. For more discussion see comments in quilt_fixup_dpkgsource_singlepatch. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests')
-rwxr-xr-xtests/tests/unrepresentable5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tests/unrepresentable b/tests/tests/unrepresentable
index 62ba3dd..76dfdaf 100755
--- a/tests/tests/unrepresentable
+++ b/tests/tests/unrepresentable
@@ -79,6 +79,11 @@ finish () {
LATE-EP:*)
# quilt-fixup and dpkg-source succeeded, but dgit push failed.
# This is rather a poor outcome.
+ case "$DGIT_TEST_TESTNAME" in
+ *-single-dpkg) ;;
+ *) fail 'push failure, other than with single-debina-patch' ;;
+ esac
+
wrongmsg="${expected#*:}"
badly-late-raw "E:$wrongmsg.*: $path"
;;