From: Johan Herland Date: Mon, 04 Jun 2007 00:54:34 GMT Subject: [PATCH 5/6] git-mktag tests: Fix and expand the mktag tests according to the new tag object structure Message-ID: <200706040254.34554.johan@herland.net> In-Reply-To: <200706040251.52613.johan@herland.net> The existing tests are updated to reflect the changes in the tag object. Additionally some more tests are added to test the new "keywords" header, and to test the more thorough verification routine. Signed-off-by: Johan Herland --- t/t3800-mktag.sh | 204 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 190 insertions(+), 14 deletions(-) diff --git a/t/t3800-mktag.sh b/t/t3800-mktag.sh index 7c7e433..f6e3d10 100755 --- a/t/t3800-mktag.sh +++ b/t/t3800-mktag.sh @@ -34,7 +34,7 @@ too short for a tag EOF cat >expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig printf "type tagsssssssssssssssssssssssssssssss" >>tag.sig cat >expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <expect.pat <tag.sig <.git/refs/tags/mytag 2>message' ############################################################ -# 14. check mytag +# 20. check mytag test_expect_success \ 'check mytag' \ 'git-tag -l | grep mytag' +############################################################ +# 21. create valid tag #2 + +cat >tag.sig <.git/refs/tags/mytag 2>message' + +############################################################ +# 22. create valid tag #3 + +cat >tag.sig <.git/refs/tags/mytag 2>message' + +############################################################ +# 23. create valid tag #4 + +cat >tag.sig <.git/refs/tags/mytag 2>message' + test_done -- 1.5.2