mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:13:35 +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
|
|
@ -21,7 +21,7 @@ test74 test75 test76 test77 test78 test147 test148 test506 test79 \
|
|||
test80 test81 test82 test83 test84 test85 test86 test87 test507 \
|
||||
test149 test88 test89 test90 test508 test91 test92 test203 test93 \
|
||||
test94 test95 test509 test510 test97 test98 test99 test150 test151 \
|
||||
test152 test153 test154 test155 test156 test157 test158 test159
|
||||
test152 test153 test154 test155 test156 test157 test158 test159 test511
|
||||
|
||||
# The following tests have been removed from the dist since they no longer
|
||||
# work. We need to fix the test suite's FTPS server first, then bring them
|
||||
|
|
|
|||
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