From 2df5e989bcbb8d4d8510e4322f3db964e5b9ca9c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Jul 2019 19:26:12 +0100 Subject: [PATCH] test suite: tagupl: Test lack of signature Signed-off-by: Ian Jackson --- tests/tests/tagupl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/tests/tagupl b/tests/tests/tagupl index ea5a3aff..80b92bee 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 -- 2.30.2