Diff options
Diffstat (limited to 'tests/t0101-index.sh')
-rwxr-xr-xtests/t0101-index.sh4
1 file changed, 2 insertions, 2 deletions
diff --git a/tests/t0101-index.sh b/tests/t0101-index.sh
index 8d389b6..e50f0f8 100755
--- a/tests/t0101-index.sh
+++ b/tests/t0101-index.sh
@@ -11,9 +11,9 @@ test_description='Check content on index page'
. ./setup.sh
test_expect_success 'generate index page' 'cgit_url "" >tmp'
-test_expect_success 'find foo repo' 'grep "foo" tmp'
+test_expect_success 'find foo repo' 'grep ">foo</a>" tmp'
test_expect_success 'find foo description' 'grep "\[no description\]" tmp'
-test_expect_success 'find bar repo' 'grep "bar" tmp'
+test_expect_success 'find bar repo' 'grep ">bar</a>" tmp'
test_expect_success 'find bar description' 'grep "the bar repo" tmp'
test_expect_success 'find foo+bar repo' 'grep ">foo+bar<" tmp'
test_expect_success 'verify foo+bar links' 'test $(grep -o "href=./foo%2Bbar/." tmp | wc -l) = 2'