AgeCommit message (Collapse)AuthorLines
Move the later tests to the config writersBryce Kwon-38/+16
The one-line request wrappers go with them. Configs with several repositories, a key out of place on purpose, the cache on or no repository of their own stay written out.
Drop test lines that add nothingBryce Kwon-1/+0
The trash directory starts empty and setup.sh already made the cache, the clamp check already fails on a short query, and the commit the setup named is still there to pin.
Tighten the checks that match stray textBryce Kwon-1/+1
Every page holds foo in its footer element, the foo+bar row holds bar, the branch switcher holds master, and commit 1 and file-1 also match commits 10 to 19 and file-10 to file-19. A search page repeats its term in the search box. So these checks passed on pages that lacked what they look for, and each now matches the link itself.
Move the highlighter fallback check into t0502Bryce Kwon-23/+0
t0502 owns the shipped highlighter and already writes a cgitrc naming it, so the check needs no config of its own there. t0204's header still called it the last case long after it stopped being one.
Hold patch and rawdiff to max-blob-sizeBryce Kwon-0/+18
Both pages hand the diff to git, whose own limit on an inlined blob is 512 MB, so a commit adding a blob the other views refuse was inflated and diffed in full. The cap is passed through to git, which shows such a blob as binary.
Read a negative ref count as no limitBryce Kwon-0/+20
summary-branches, summary-tags and max-ref-count already listed every ref at 0, but a negative value reached qsort as a count and crashed the summary and refs pages, and emptied the branch switcher.
Share the max-blob-size check and its refusalBryce Kwon-0/+13
Five copies of the test and four of the error page had to agree by hand. The new check pins the four refusals, which no test covered.
Test the hardening passBryce Kwon-2/+5
Trim the comments and dead code across the treeBryce Kwon-8/+6
Collect test scratch output under trash and resultsBryce Kwon-1/+1
Prefer POSIX forms throughout the test scriptsBryce Kwon-3/+4
Renumber the test scripts into themed rangesBryce Kwon-0/+182
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/