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:
Daniel Stenberg 2004-04-14 06:30:37 +00:00
parent 9c0a386246
commit aba6c2b89d
4 changed files with 57 additions and 3 deletions

35
tests/data/test511 Normal file
View 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>