Added test case 354 that makes a simple FTP retrieval without password, which

verifies the bug fix in #1757328.
This commit is contained in:
Daniel Stenberg 2007-07-22 10:08:59 +00:00
parent 8ab495a088
commit 4bbcc47f3f
3 changed files with 62 additions and 1 deletions

View file

@ -42,4 +42,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test405 test604 test605 test606 test607 test608 test609 test294 test295 \
test296 test297 test298 test610 test611 test612 test406 test407 test408 \
test409 test613 test614 test700 test701 test702 test704 test705 test703 \
test706 test707 test350 test351 test352 test353 test289 test540
test706 test707 test350 test351 test352 test353 test289 test540 test354

50
tests/data/test354 Normal file
View file

@ -0,0 +1,50 @@
<testcase>
<info>
<keywords>
FTP
PASV
RETR
</keywords>
</info>
# Server-side
<reply>
<data>
data
to
see
that FTP
works
so does it?
</data>
<servercmd>
REPLY USER 200 fine, proceed without password
</servercmd>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP without password
</name>
<command>
ftp://%HOSTIP:%FTPPORT/354
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PWD
EPSV
TYPE I
SIZE 354
RETR 354
QUIT
</protocol>
</verify>
</testcase>