summaryrefslogtreecommitdiff
path: root/tests/t0101-index.sh
blob: 445af6a6f0b48a3774c8778f4cbf12c73d88d00e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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 'no tree-link' '! grep -e "foo/tree" trash/tmp'
run_test 'no log-link' '! grep -e "foo/log" trash/tmp'

tests_done
ef='/dotfiles.git/commit/.zsh/zshrc?id=147cf42cb7e779d9e5995a178336bbfea913a271&follow=1'>Force man to not use localized man-pagesRené Neumann1-0/+3 2012-05-21Revert "It uses pinentry directly -- so no use to play around with ssh-add"René 'Necoro' Neumann1-0/+6 2012-05-20It uses pinentry directly -- so no use to play around with ssh-addRené Neumann1-6/+0