X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=tests%2Ft5500-script-tattoo.sh;h=561b4bf6580526360c15dbaf7d3e203c09e43306;hb=29e377af6f259fd87067ad189f254621ba2e6703;hp=bab6dd224d1d47f10209a2446c08e82a938d8d39;hpb=7b1a6c5d42a7a2f3d3a11cdf91607886c1c2c978;p=git-central.git diff --git a/tests/t5500-script-tattoo.sh b/tests/t5500-script-tattoo.sh index bab6dd2..561b4bf 100644 --- a/tests/t5500-script-tattoo.sh +++ b/tests/t5500-script-tattoo.sh @@ -19,11 +19,14 @@ test_expect_success 'setup' ' # tattoo makes assumptions based on the update stable hook sanity checks install_update_hook 'update-stable' +install_post_receive_hook 'post-receive-assign-commit-numbers' -test_expect_success 'tattoo of first commit' ' - gc-tattoo | grep 0 +test_expect_success 'tattoo of unpublished commit fails' ' + gc-tattoo | grep "No commit number tag found" ' +test_done + test_expect_success 'tattoo 1' ' git checkout -b topic1 && echo "$test_name" >a.topic1 &&