#!/bin/sh # The tag page. An annotated tag gets a table of its name, date, tagger, the # object it points at under its full id, and the downloads, and its message # follows with no blank line between subject and body. A lightweight tag gets # the shorter table. test_description='Check content on tag page' . ./setup.sh test_expect_success 'create an annotated and a lightweight tag' ' ( cd repos/foo && git tag -a -m "Annotated tag Release notes over two lines." v1.0 && git tag light ) ' test_expect_success 'generate foo/tag/?h=v1.0' 'cgit_url "foo/tag/&h=v1.0" >tmp' test_expect_success 'find the name, date and tagger rows' ' grep "tag namev1.0 ([0-9a-f]*)" tmp && grep "tag date