summaryrefslogtreecommitdiff
path: root/tests/t0101-index.sh
blob: 07e39f9139de1324013677e58b34ac01ecdc4bba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 foo description' 'grep -e "\[no description\]" trash/tmp'
run_test 'find bar repo' 'grep -e "bar" trash/tmp'
run_test 'find bar description' 'grep -e "the bar repo" trash/tmp'
run_test 'find foo+bar repo' 'grep -e ">foo+bar<" trash/tmp'
run_test 'verify foo+bar link' 'grep -e "/foo+bar/" trash/tmp'
run_test 'no tree-link' '! grep -e "foo/tree" trash/tmp'
run_test 'no log-link' '! grep -e "foo/log" trash/tmp'

tests_done
Fix font size of urxvtRené Neumann1-1/+1 2012-10-15Gitconfig changes -- make the git@git.necoro.eu one more aliasRené Neumann1-0/+1 2012-10-14Minor fixesRené 'Necoro' Neumann1-3/+1 2012-10-14Even more urxvt stuffRené 'Necoro' Neumann2-3/+17 2012-10-13add 'altscreen on' to screenrcRené 'Necoro' Neumann1-0/+7 2012-10-12Moar urxvt settingsRené Neumann1-2/+23 2012-10-12Small fixesRené Neumann2-2/+3 2012-10-12Fix colorscheme nameRené Neumann1-1/+1 2012-10-12Added some logic to automatically fix terminfoRené Neumann2-0/+104