diff options
Diffstat (limited to 'tests/filters/dump.sh')
| -rwxr-xr-x | tests/filters/dump.sh | 6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 5 insertions, 1 deletion
diff --git a/tests/filters/dump.sh b/tests/filters/dump.sh index da6f7a1..a4c1571 100755 --- a/tests/filters/dump.sh +++ b/tests/filters/dump.sh @@ -1,4 +1,8 @@ #!/bin/sh -[ "$#" -gt 0 ] && printf "%s " "$*" +# Test fixture for the cgit exec filter API, exercised by t0201-filters.sh. +# It echoes the arguments it was invoked with and upper-cases the body, which +# lets the test confirm that both flow through the exec: filter path. + +test "$#" -gt 0 && printf "%s " "$*" tr '[:lower:]' '[:upper:]' |
