Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Add the shared config writers and cgit_rc
The helpers are named by kind. cgitrc_repo and cgitrc_copy write the config file named first, and cgit_url, cgit_query and cgit_rc run cgit, each named after what it is handed first. A repository copies its defaults from the globals read before its repo.url, so cgitrc_repo places every setting itself, and a global can no longer land where it silently stops applying. The t00xx and t01xx files move to them here.
-rwxr-xr-xtests/setup.sh61
-rwxr-xr-xtests/t0002-html-validity.sh11
-rwxr-xr-xtests/t0003-cache.sh46
-rwxr-xr-xtests/t0005-markup.sh74
-rwxr-xr-xtests/t0006-nolua.sh7
-rwxr-xr-xtests/t0101-index.sh20
-rwxr-xr-xtests/t0102-summary.sh20
-rwxr-xr-xtests/t0103-log.sh28
-rwxr-xr-xtests/t0104-tree.sh60
-rwxr-xr-xtests/t0105-plain.sh16
-rwxr-xr-xtests/t0107-diff.sh18
-rwxr-xr-xtests/t0109-patch.sh4
-rwxr-xr-xtests/t0110-snapshot.sh38
-rwxr-xr-xtests/t0111-atom.sh10
-rwxr-xr-xtests/t0112-stats.sh50
15 files changed, 188 insertions, 275 deletions