Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
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.
Diffstat (limited to '')
-rwxr-xr-xtests/t0301-security.sh1
1 file changed, 0 insertions, 1 deletion
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=<path> 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
'