Merge branch 'jc/receive-deny-current-branch-fix' into maint
[gitweb.git] / t / t7030-verify-tag.sh
index 99f35a5bbe47aff93121c5e6beeec2dce00d18be..041e319e79aacb74ea9ec8fc20a38cc222961b6e 100755 (executable)
@@ -168,9 +168,8 @@ test_expect_success GPG 'verifying tag with --format' '
 '
 
 test_expect_success GPG 'verifying a forged tag with --format should fail silently' '
-       >expect &&
        test_must_fail git verify-tag --format="tagname : %(tag)" $(cat forged1.tag) >actual-forged &&
-       test_cmp expect actual-forged
+       test_must_be_empty actual-forged
 '
 
 test_done