From 4bbcc47f3f3a81ada6e7d620400c1388d6161e88 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 22 Jul 2007 10:08:59 +0000 Subject: Added test case 354 that makes a simple FTP retrieval without password, which verifies the bug fix in #1757328. --- tests/data/Makefile.am | 2 +- tests/data/test354 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 tests/data/test354 (limited to 'tests') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 98988cf0e..8cc794d4a 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -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 diff --git a/tests/data/test354 b/tests/data/test354 new file mode 100644 index 000000000..a6949328a --- /dev/null +++ b/tests/data/test354 @@ -0,0 +1,50 @@ + + + +FTP +PASV +RETR + + +# Server-side + + +data + to + see +that FTP +works + so does it? + + +REPLY USER 200 fine, proceed without password + + + +# Client-side + + +ftp + + +FTP without password + + +ftp://%HOSTIP:%FTPPORT/354 + + + + +# Verify data after the test has been "shot" + + +USER anonymous +PWD +EPSV +TYPE I +SIZE 354 +RETR 354 +QUIT + + + -- cgit v1.2.3