diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Tidy the test comments and shell portability
Diffstat (limited to 'tests/t0105-commit.sh')
-rwxr-xr-xtests/t0105-commit.sh6
1 file changed, 6 insertions, 0 deletions
diff --git a/tests/t0105-commit.sh b/tests/t0105-commit.sh
index 1a12ee3..47edc5f 100755
--- a/tests/t0105-commit.sh
+++ b/tests/t0105-commit.sh
@@ -1,5 +1,11 @@
#!/bin/sh
+# The commit page shows a single commit, its message, the files it touched and
+# the diff for them. Most of these checks read the markup cgit emits for the
+# tree link, the parent link, the subject and the diffstat. The last few ask
+# for the root commit of a repository, which has no parent and so goes through
+# the code that compares a commit against an empty tree.
+
test_description='Check content on commit page'
. ./setup.sh