From 99ae6327dbff87fd0cde29912d01fc7cf82c3a27 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 18:42:08 -1000 Subject: Describe the whole filter script in its header --- tests/t0201-filters.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/t0201-filters.sh b/tests/t0201-filters.sh index 021dfb2..26b98ab 100755 --- a/tests/t0201-filters.sh +++ b/tests/t0201-filters.sh @@ -1,10 +1,14 @@ #!/bin/sh -# Checks the source, about, commit and email filters, which hand a piece of -# page content to an outside program before it is written out. The checks in -# the loop run once per kind of filter, the exec kind always and the lua kind -# only where cgit was built with lua, because both have to produce the same -# page from the same repository. Elsewhere the lua kind shows as skipped. +# Checks the filters that hand a piece of a page to an outside program or a +# Lua script before it is written out, from the arguments and environment +# each one gets to what happens when one fails. The loop runs the source, +# about, commit and email filters once per kind of filter, the exec kind +# always and the lua kind only where cgit was built with lua, because both +# have to produce the same page from the same repository. Elsewhere the lua +# kind shows as skipped. Most failures go through the auth filter, which +# runs before any of the page is out. The Lua tests at the end drive the +# calls cgit gives a script, and git tracing before any filter is set up. test_description='Check filtered content' . ./setup.sh -- cgit 2.12.1