aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-03-30 00:08:41 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-03-30 00:08:41 +0000
commitfbb1e49215e613b0462ba2d154c545424640f4bf (patch)
treed21edf79b02e668b0c4da6939d7301504fd088a9 /tests/data
parentc26320d94fbd5f5a28eb0427ad8f28733994a3ba (diff)
Added FTP-SSL failure test 402
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test40237
2 files changed, 38 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index c4e1598c2..21345a565 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -38,4 +38,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test530 DISABLED test278 test279 test531 test280 test529 test532 test533 \
test534 test535 test281 test537 test282 test283 test284 test538 test285 \
test286 test307 test308 test287 test400 test288 test600 test601 test602 \
- test603 test401
+ test603 test401 test402
diff --git a/tests/data/test402 b/tests/data/test402
new file mode 100644
index 000000000..b85822a9b
--- /dev/null
+++ b/tests/data/test402
@@ -0,0 +1,37 @@
+<testcase>
+<info>
+<keywords>
+FTPS
+FAILURE
+</keywords>
+</info>
+
+# Client-side
+<client>
+<features>
+SSL
+</features>
+<server>
+ftp
+</server>
+ <name>
+FTP SSL required on non-SSL server
+ </name>
+ <command>
+-k --ftp-ssl-reqd ftp://%HOSTIP:%FTPPORT/402
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+64
+</errorcode>
+<strip>
+</strip>
+<protocol>
+AUTH SSL
+AUTH TLS
+</protocol>
+</verify>
+</testcase>