summaryrefslogtreecommitdiffabout
path: root/tests/t0101-index.sh
blob: 12ed00c4e4574cf36a63996a08c3169284562e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

. ./setup.sh

prepare_tests "Check content on index page"

run_test 'generate index page' 'cgit_url "" >trash/tmp'
run_test 'find foo repo' 'grep -e "foo" trash/tmp'
run_test 'find bar repo' 'grep -e "bar" trash/tmp'
run_test 'no tree-link' 'grep -ve "foo/tree" trash/tmp'
run_test 'no log-link' 'grep -ve "foo/log" trash/tmp'

tests_done