summaryrefslogtreecommitdiff
path: root/tests/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-07-06 18:25:06 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-07-07 11:18:17 +0100
commitd2a666050664abfba247cd1d18d585e6bba17b55 (patch)
treeae79d1a915929b77c6706a99a1366eae69fa9525 /tests/tests
parentca99f9273683e8e763e6113d34d755a6afe551d9 (diff)
test suite: tagupl: A few more error case tests
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests')
-rwxr-xr-xtests/tests/tagupl6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tests/tagupl b/tests/tests/tagupl
index aa47e57..7d716fe 100755
--- a/tests/tests/tagupl
+++ b/tests/tests/tagupl
@@ -97,6 +97,12 @@ expect-quit noplease s/please-upload/plunk/ 'tag missing please-upload'
expect-email vermatch 's/^example release /$&3/' 'reject: version mismatch'
+expect-email unkinfo 's/^\[dgit please-upload/$& Rejectme/' \
+ 'unknown dgit info in tag'
+
+expect-quit unkdistro 's/test-dummy/ubuntu/ if m/^\[dgit/' \
+ 'not for this distro'
+
# we are going to trash $p because it will contain corrupted objects
# which makes our end-of-test fsck fail
cp -al ../$p ../$p.save