X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/ab21082c21867e035cd925a06d6d55fb3143d883..b4649fc90597910c89c3f37a6aec9af54d9f416b:/tests/t0105-commit.sh
diff --git a/tests/t0105-commit.sh b/tests/t0105-commit.sh
new file mode 100755
index 0000000..7137751
--- /dev/null
+++ b/tests/t0105-commit.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+. ./setup.sh
+
+prepare_tests "Check content on commit page"
+
+run_test 'generate foo/commit' 'cgit_url "foo/commit" >trash/tmp'
+run_test 'find tree link' 'grep -e "" trash/tmp'
+run_test 'find parent link' 'grep -E "" trash/tmp'
+
+run_test 'find commit subject' '
+ grep -e "