Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce 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-x | tests/t0301-security.sh | 1 |
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 ' |
