t7004-tag: Skip more tests if gpg is not available.
[gitweb.git] / t / t3800-mktag.sh
index 278075823bbf4656ec08e844e79e6b25f0f2f292..bdc6e132cacbccc72a903c1aad1bbfe1364471ab 100755 (executable)
@@ -14,7 +14,7 @@ test_description='git-mktag: tag object verify test'
 check_verify_failure () {
        expect="$2"
        test_expect_success "$1" '
-               ( ! git-mktag <tag.sig 2>message ) &&
+               ( test_must_fail git-mktag <tag.sig 2>message ) &&
                grep "$expect" message
        '
 }