#!/bin/sh
# The commit page. Most checks read the markup for the tree link, the parent
# link, the subject and the diffstat. The last few use a root commit, which
# has no parent and diffs against the empty tree.
test_description='Check content on commit page'
. ./setup.sh
test_expect_success 'generate foo/commit' 'cgit_url "foo/commit" >tmp'
test_expect_success 'find tree link' 'grep "" tmp'
test_expect_success 'find parent link' 'grep -E "" tmp'
test_expect_success 'find commit subject' '
grep "