diff options
Diffstat (limited to 'tests/tests/tagupl')
-rwxr-xr-x | tests/tests/tagupl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/tests/tagupl b/tests/tests/tagupl index 9f12eed..ea5a3af 100755 --- a/tests/tests/tagupl +++ b/tests/tests/tagupl @@ -46,8 +46,6 @@ perl -i -ne ' print or die $!; ' ../basetag -git cat-file tag test-dummy/1.0-1 >../raw-base - mv-ident () { local f=$tmp/$1 if test -e $f; then @@ -133,6 +131,15 @@ expect-email upsmism 's/ upstream=/$&3/' \ cp -al ../$p ../$p.save cd ../$p +git cat-file tag $tagname >../raw-base + +next-mangle sigfail +perl -pe <../raw-base >../tagobj-$ident 's/ split / split ignoreme /' +raw-mangled +grep 'gpgv: BAD signature' ../sendmail.log + +git cat-file tag test-dummy/1.0-1 >../raw-base + next-mangle badtagger perl -pe <../raw-base ' s/\+\d+$/xyz/ if m/^tagger /; |