From 3217809294beacc6436775e2e32d54ce732ea7d7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 17 Aug 2007 22:22:43 +0000 Subject: Robson Braga Araujo filed bug report #1776235 (http://curl.haxx.se/bug/view.cgi?id=1776235) about ftp requests with NOBODY on a directory would do a "SIZE (null)" request. This is now fixed and test case 1000 was added to verify. --- tests/data/Makefile.am | 2 +- tests/data/test1000 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 tests/data/test1000 (limited to 'tests/data') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index aa396a2da..2674c0379 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -43,4 +43,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ 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 test354 \ - test231 test1001 test1002 + test231 test1000 test1001 test1002 diff --git a/tests/data/test1000 b/tests/data/test1000 new file mode 100644 index 000000000..32d5c29ee --- /dev/null +++ b/tests/data/test1000 @@ -0,0 +1,44 @@ + + + +FTP +PASV +LIST +NOBODY + + +# +# Server-side + +# When doing LIST, we get the default list output hard-coded in the test +# FTP server + + + + +# +# Client-side + + +ftp + + +FTP dir list PASV with -I + + +ftp://%HOSTIP:%FTPPORT/1000/ -I + + + +# +# Verify data after the test has been "shot" + + +USER anonymous +PASS ftp@example.com +PWD +CWD 1000 +QUIT + + + -- cgit v1.2.3