all repos — cgit @ afe04daa3380ae144c2c9b486674c98e5dd082a3

a hyperfast web frontend for git written in c

tests/t0103-log.sh (view raw)

 1#!/bin/sh
 2
 3. ./setup.sh
 4
 5prepare_tests "Check content on log page"
 6
 7run_test 'generate foo/log' 'cgit_url "foo/log" >trash/tmp'
 8run_test 'find commit 1' 'grep -e "commit 1" trash/tmp'
 9run_test 'find commit 5' 'grep -e "commit 5" trash/tmp'
10
11run_test 'generate bar/log' 'cgit_url "bar/log" >trash/tmp'
12run_test 'find commit 1' 'grep -e "commit 1" trash/tmp'
13run_test 'find commit 50' 'grep -e "commit 50" trash/tmp'
14
15tests_done