chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca99f92
)
test suite: tagupl: A few more error case tests
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 6 Jul 2019 17:25:06 +0000
(18:25 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 7 Jul 2019 10:18:17 +0000
(11:18 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/tagupl
patch
|
blob
|
history
diff --git
a/tests/tests/tagupl
b/tests/tests/tagupl
index aa47e57318babf3a584fa3f01595039ea7f5d975..7d716fe447481c5d7d1cb04f0ffd8534e3e22c93 100755
(executable)
--- 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