summaryrefslogtreecommitdiff
path: root/tests/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-07-06 19:26:12 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-07-07 11:18:17 +0100
commit2df5e989bcbb8d4d8510e4322f3db964e5b9ca9c (patch)
tree877cdc90930bc5d00d9fe97af083425dc975154d /tests/tests
parent6100d62d0e512c6e3c22d6fa3465a8f8991214c5 (diff)
test suite: tagupl: Test lack of signature
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests')
-rwxr-xr-xtests/tests/tagupl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tests/tagupl b/tests/tests/tagupl
index ea5a3af..80b92be 100755
--- a/tests/tests/tagupl
+++ b/tests/tests/tagupl
@@ -138,6 +138,11 @@ perl -pe <../raw-base >../tagobj-$ident 's/ split / split ignoreme /'
raw-mangled
grep 'gpgv: BAD signature' ../sendmail.log
+next-mangle nosig
+perl -ne <../raw-base >../tagobj-$ident 'print unless m/^-----/..0'
+raw-mangled
+grep 'missing signature' ../sendmail.log
+
git cat-file tag test-dummy/1.0-1 >../raw-base
next-mangle badtagger