AgeCommit message (Collapse)AuthorLines
Test the features the suite never reachedBryce Kwon-0/+23
Index sorting, the commit graph, the stats periods past a week, the hex dump of a binary file and a Lua filter's html_url_arg and html_include ran in no test.
Find libc's write when git writes firstBryce Kwon-0/+8
A Lua build replaces write, and git can write before cmd_main reaches cgit_init_filters, as it does when GIT_TRACE2 is set, which called through a null pointer and crashed every request.
Name every Lua filter failure in the logBryce Kwon-0/+13
A script raising anything but a string handed die a null to print, and a Lua state that could not be created was used anyway once the filter closed.
Let a Lua script write while it loadsBryce Kwon-0/+20
A script's top level runs before cgit hooks stdout for it, and the unhook html() began with tripped an assert that aborted cgit.
Add blame to the source filter and line number docsBryce Kwon-0/+8
Say which filters get the repository variablesBryce Kwon-0/+12
Hand the about filter the tree url its links needBryce Kwon-2/+24
With nothing below the about page, a readme's relative links have to be written against the tree, and only cgit knows how this site spells the url of a tree page and which ref the readme was read from. Both reach the filter already escaped for a url, built by the same writer as cgit's own links.
Add stable markup hooks for site themesBryce Kwon-2/+2
Test the hardening passBryce Kwon-4/+5
Harden the lua filter failure pathsBryce Kwon-0/+22
Trim the comments and dead code across the treeBryce Kwon-7/+4
Prefer POSIX forms throughout the test scriptsBryce Kwon-1/+2
Renumber the test scripts into themed rangesBryce Kwon-0/+70
t000x the ground the suite stands on: git version, html validity, the cache t01xx page content, one script per page t02xx features that cut across pages: filters, submodule links, dates, limits t03xx defence, the security regressions and the $HOME promise t04xx the helper tools under tools/