From d2a666050664abfba247cd1d18d585e6bba17b55 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Jul 2019 18:25:06 +0100 Subject: [PATCH] test suite: tagupl: A few more error case tests Signed-off-by: Ian Jackson --- tests/tests/tagupl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/tests/tagupl b/tests/tests/tagupl index aa47e573..7d716fe4 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 -- 2.30.2