summaryrefslogtreecommitdiffstatshomepage
path: root/filter.c
Commit message (Expand)AuthorAge
* Avoid non-ANSI function declarationsJohn Keeping2015-03-09
* repolist: add owner-filterChris Burroughs2014-12-23
* remove trailing whitespaces from source filesChristian Hesse2014-04-17
* filter: don't forget to reap the auth filterJason A. Donenfeld2014-01-17
* auth: have cgit calculate login addressJason A. Donenfeld2014-01-16
* auth: add basic authentication filter frameworkJason A. Donenfeld2014-01-16
* filter: allow returning exit code from filterJason A. Donenfeld2014-01-14
* filter: style tweaksJason A. Donenfeld2014-01-14
* filter: add page source to email filterJason A. Donenfeld2014-01-14
* filter: add support for email filterJason A. Donenfeld2014-01-14
* filter: return on null filter from open and closeJason A. Donenfeld2014-01-14
* filter: add lua supportJason A. Donenfeld2014-01-14
* filter: basic write hooking infrastructureJason A. Donenfeld2014-01-14
* filter: allow for cleanup hook for filter typesJason A. Donenfeld2014-01-14
* filter: introduce "filter type" prefixJohn Keeping2014-01-14
* filter: add interface layerJohn Keeping2014-01-14
* filter: add fprintf_filter functionJohn Keeping2014-01-14
* filter: pass extra arguments via cgit_open_filterJohn Keeping2014-01-12
* filter: split filter functions into their own fileJason A. Donenfeld2014-01-10
Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/sh

. ./setup.sh

prepare_tests "Check content on log page"

run_test 'generate foo/log' 'cgit_url "foo/log" >trash/tmp'
run_test 'find commit 1' 'grep -e "commit 1" trash/tmp'
run_test 'find commit 5' 'grep -e "commit 5" trash/tmp'

run_test 'generate bar/log' 'cgit_url "bar/log" >trash/tmp'
run_test 'find commit 1' 'grep -e "commit 1" trash/tmp'
run_test 'find commit 50' 'grep -e "commit 50" trash/tmp'

tests_done