From: Ian Jackson Date: Sat, 6 Jul 2019 17:25:06 +0000 (+0100) Subject: test suite: tagupl: A few more error case tests X-Git-Tag: archive/debian/9.1~38 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=d2a666050664abfba247cd1d18d585e6bba17b55 test suite: tagupl: A few more error case tests Signed-off-by: Ian Jackson --- 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