diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Prefer POSIX forms throughout the test scripts
Diffstat (limited to 'tests/filters')
-rwxr-xr-xtests/filters/dump.sh6
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:]'