From 552b963e6defebd6d0d6d41f8c74798d856c313c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 4 Oct 2006 21:11:08 +0000 Subject: Dmitriy Sergeyev provided an example source code that crashed CVS libcurl but that worked nicely in 7.15.5. I converted it into test case 532 and fixed the problem. --- tests/data/Makefile.am | 2 +- tests/data/test532 | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 tests/data/test532 (limited to 'tests/data') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 0d0df9af0..51831ff2b 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -35,4 +35,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test256 test257 test258 test259 test260 test261 test262 test263 test264 \ test265 test266 test267 test268 test269 test270 test271 test272 test273 \ test274 test275 test524 test525 test276 test277 test526 test527 test528 \ - test530 DISABLED test278 test279 test531 test280 test529 + test530 DISABLED test278 test279 test531 test280 test529 test532 diff --git a/tests/data/test532 b/tests/data/test532 new file mode 100644 index 000000000..5421f81a7 --- /dev/null +++ b/tests/data/test532 @@ -0,0 +1,61 @@ + + +FTP +PASV +RETR + + +# Server-side + + +file contents should appear once for each file + + +file contents should appear once for each file +file contents should appear once for each file +file contents should appear once for each file +file contents should appear once for each file + + + +# Client-side + + +ftp + + +lib532 + + +FTP RETR same file using reset handles between each transfer + + +ftp://%HOSTIP:%FTPPORT/path/532 + + + +# Verify data after the test has been "shot" + + + + +USER anonymous +PASS curl_by_daniel@haxx.se +PWD +CWD path +EPSV +TYPE I +SIZE 532 +RETR 532 +EPSV +SIZE 532 +RETR 532 +EPSV +SIZE 532 +RETR 532 +EPSV +SIZE 532 +RETR 532 +QUIT + + -- cgit v1.2.3