mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +03:00
Added test case 511 in an attempt to repeat bug report #934666 "storage leak
in ftp.c", but it shows no leaking.
This commit is contained in:
parent
9c0a386246
commit
aba6c2b89d
4 changed files with 57 additions and 3 deletions
35
tests/data/test511
Normal file
35
tests/data/test511
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
ftp
|
||||
</server>
|
||||
# tool is what to use instead of 'curl'
|
||||
<tool>
|
||||
lib511
|
||||
</tool>
|
||||
|
||||
<name>
|
||||
FTP with FILETIME and NOBODY but missing file
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/511
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY MDTM 550 bluah you f00l!
|
||||
REPLY SIZE 550 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
# CURLE_FTP_COULDNT_RETR_FILE
|
||||
<errorcode>
|
||||
19
|
||||
</errorcode>
|
||||
</verify>
|
||||
Loading…
Add table
Add a link
Reference in a new issue