From 6a2e21ec8cbaf7c719902e06953d9dbec629ad4f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 9 Feb 2005 13:06:40 +0000 Subject: FTP code turned into state machine. Not completely yet, but a good start. The tag 'before_ftp_statemachine' was set just before this commit in case of future need. --- tests/data/test113 | 2 +- tests/data/test114 | 2 +- tests/data/test190 | 3 ++- tests/data/test195 | 2 +- tests/data/test196 | 3 ++- tests/libtest/lib511.c | 3 +-- 6 files changed, 8 insertions(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/data/test113 b/tests/data/test113 index 19dcc5582..c80fcca0e 100644 --- a/tests/data/test113 +++ b/tests/data/test113 @@ -21,7 +21,7 @@ REPLY USER 314 bluah you fewl! # Verify data after the test has been "shot" -12 +67 USER anonymous diff --git a/tests/data/test114 b/tests/data/test114 index 05555abf9..2f24e55f0 100644 --- a/tests/data/test114 +++ b/tests/data/test114 @@ -21,7 +21,7 @@ REPLY PASS 314 bluah you f00l! # Verify data after the test has been "shot" -11 +67 USER anonymous diff --git a/tests/data/test190 b/tests/data/test190 index d5c48fb6c..78b179e82 100644 --- a/tests/data/test190 +++ b/tests/data/test190 @@ -15,7 +15,7 @@ ftp FTP download with strict timeout and slow CWD -ftp://%HOSTIP:%FTPPORT/path/to/file/126 -m 3 +ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m 3 DELAY CWD 15 @@ -24,6 +24,7 @@ DELAY CWD 15 # Verify data after the test has been "shot" +# 28 is CURLE_OPERATION_TIMEOUTED 28 diff --git a/tests/data/test195 b/tests/data/test195 index 39b0744ed..cadfb3d6f 100644 --- a/tests/data/test195 +++ b/tests/data/test195 @@ -21,7 +21,7 @@ REPLY PASS 530 temporarily not available # Verify data after the test has been "shot" -10 +67 USER anonymous diff --git a/tests/data/test196 b/tests/data/test196 index ec43918b0..b47cf5d6b 100644 --- a/tests/data/test196 +++ b/tests/data/test196 @@ -20,8 +20,9 @@ REPLY PASS 530 temporarily not available # Verify data after the test has been "shot" +# 67 is CURLE_LOGIN_DENIED -10 +67 USER anonymous diff --git a/tests/libtest/lib511.c b/tests/libtest/lib511.c index 4afb1dc9f..c0861a053 100644 --- a/tests/libtest/lib511.c +++ b/tests/libtest/lib511.c @@ -9,7 +9,6 @@ int test(char *URL) curl_easy_setopt(curl, CURLOPT_NOBODY, 1); curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); res = curl_easy_perform(curl); - curl_easy_cleanup(curl); + curl_easy_cleanup(curl); return (int)res; } - -- cgit v1.2.3