From 6b9dac473def1e6ed0daedb9eb35664fbbfffb8c Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 24 Aug 2026 16:51:55 -1000 Subject: Prefer POSIX forms throughout the test scripts --- tests/filters/dump.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/filters/dump.sh') 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:]' -- cgit v2.8.0