Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Describe the whole filter script in its header
| -rwxr-xr-x | tests/t0201-filters.sh | 14 |
1 file changed, 9 insertions, 5 deletions
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 |
