blob: a4c1571a17ce5617c8298324486769c696c9cddb (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# 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:]'