From e6e6c6e635b72502a1bfc24cd407a82f9ecd82e2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <daniel@haxx.se> Date: Mon, 11 May 2009 11:43:55 +0000 Subject: Added test 564 as DISABLED. It is for testing FTP over a SOCK4 proxy using the multi interface, which currently doesn't work because of how the data connection is not waiting for connect before it tries to do proxy magic. --- tests/data/DISABLED | 2 +- tests/data/Makefile.am | 3 ++- tests/data/test564 | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 tests/data/test564 (limited to 'tests/data') diff --git a/tests/data/DISABLED b/tests/data/DISABLED index 0e3c19ba2..329f27c96 100644 --- a/tests/data/DISABLED +++ b/tests/data/DISABLED @@ -4,4 +4,4 @@ # per line. # Lines starting with '#' letters are treated as comments. 563 - +564 diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index bd9d84eac..6574ab0ee 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -61,7 +61,8 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test1080 test1081 test1082 test1083 test1084 test1085 test633 test634 \ test635 test636 test637 test558 test559 test1086 test1087 test1088 \ test1089 test1090 test1091 test1092 test1093 test1094 test1095 test1096 \ - test1097 test560 test561 test1098 test1099 test562 test563 test1100 + test1097 test560 test561 test1098 test1099 test562 test563 test1100 \ + test564 filecheck: @mkdir test-place; \ diff --git a/tests/data/test564 b/tests/data/test564 new file mode 100644 index 000000000..6d0609d9d --- /dev/null +++ b/tests/data/test564 @@ -0,0 +1,66 @@ +<testcase> +<info> +<keywords> +FTP +PASV +RETR +multi +SOCKS4 +</keywords> +</info> +# Server-side +<reply> +<data> +data + to + see +that FTP +works + so does it? +</data> + +</reply> + +# Client-side +<client> +<server> +ftp +socks4 +</server> +<tool> +lib564 +</tool> + <name> +FTP RETR a file over a SOCKS proxy using the multi interface + </name> +<command> +ftp://%HOSTIP:%FTPPORT/path/564 %HOSTIP:%SOCKSPORT +</command> +</client> + +# Verify data after the test has been "shot" +<verify> +<protocol> +USER anonymous +PASS ftp@example.com +PWD +CWD path +EPSV +TYPE I +SIZE 546 +RETR 546 +EPSV +SIZE 546 +RETR 546 +QUIT +</protocol> +<stdout> +data + to + see +that FTP +works + so does it? +</stdout> +</verify> +</testcase> -- cgit v1.2.3