From 02a0728c8338598411639d26c9ac12a89f25adf0 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 30 Oct 2026 23:25:47 -0700 Subject: Drop test lines that add nothing The trash directory starts empty and setup.sh already made the cache, the clamp check already fails on a short query, and the commit the setup named is still there to pin. --- tests/t0204-limits.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/t0204-limits.sh') diff --git a/tests/t0204-limits.sh b/tests/t0204-limits.sh index e6d69bd..1a1d7ad 100755 --- a/tests/t0204-limits.sh +++ b/tests/t0204-limits.sh @@ -55,7 +55,6 @@ limitq() { CGIT_CONFIG="$PWD/limitrc" QUERY_STRING="$1" cgit; } # behave any differently. test_expect_success 'an enormous query is clamped, not rejected' ' long=$(awk "BEGIN{s=\"\";for(i=0;i<4000;i++)s=s \"a\"; print s}") && - test ${#long} -eq 4000 && cgit_query "q=$long" >tmp && grep "" tmp && longest=$(grep -o "aaaa*" tmp | awk "{print length}" | sort -n | tail -1) && -- cgit 2.12.1