Diff options
Diffstat (limited to 'tests/t0301-security.sh')
| -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 ' |
