From 06e44e51ffb31d8106f79bb3b6d8abd9658d9f2b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:14:33 -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/t0301-security.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/t0301-security.sh') diff --git a/tests/t0301-security.sh b/tests/t0301-security.sh index 390bed1..be87a2b 100755 --- a/tests/t0301-security.sh +++ b/tests/t0301-security.sh @@ -39,7 +39,6 @@ secq() { CGIT_CONFIG="$PWD/seccgitrc" QUERY_STRING="$1" cgit; } # tip, so a request for id=--output= could create or truncate any file # the server is able to write. test_expect_success 'log id=--output does not write a file' ' - rm -f pwned && cgit_query "url=foo/log&id=--output=$PWD/pwned" >tmp 2>&1 && ! test -e pwned ' -- cgit