X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3800-mktag.sh;h=261f199a0cb32864bbb3cf103ddd2a63e62d2590;hb=f539d0d6c1f0b4431c0711e290d1f5a7205ed6e6;hp=5b23b7769d8d178482bb7a08e27efd9e02d425a2;hpb=f3c5b39567535a41a371aad8a6affbeea0d4c0b9;p=git.git diff --git a/t/t3800-mktag.sh b/t/t3800-mktag.sh index 5b23b7769..261f199a0 100755 --- a/t/t3800-mktag.sh +++ b/t/t3800-mktag.sh @@ -22,9 +22,9 @@ check_verify_failure () { # first create a commit, so we have a valid object/type # for the tag. echo Hello >A -git-update-index --add A +git update-index --add A git-commit -m "Initial commit" -head=$(git-rev-parse --verify HEAD) +head=$(git rev-parse --verify HEAD) ############################################################ # 1. length check @@ -88,7 +88,7 @@ check_verify_failure '"type" line label check' # 5. type line eol check echo "object 779e9b33986b1c2670fff52c5067603117b3e895" >tag.sig -echo -n "type tagsssssssssssssssssssssssssssssss" >>tag.sig +printf "type tagsssssssssssssssssssssssssssssss" >>tag.sig cat >expect.pat <tag.sig <tag.sig <