aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/DISABLED2
-rw-r--r--tests/data/Makefile.am3
-rw-r--r--tests/data/test56466
3 files changed, 69 insertions, 2 deletions
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>