new tests
authorDaniel Stenberg <daniel@haxx.se>
Fri, 30 Aug 2002 10:58:37 +0000 (10:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 30 Aug 2002 10:58:37 +0000 (10:58 +0000)
tests/data/test305 [new file with mode: 0644]
tests/data/test403 [new file with mode: 0644]

diff --git a/tests/data/test305 b/tests/data/test305
new file mode 100644 (file)
index 0000000..7043203
--- /dev/null
@@ -0,0 +1,27 @@
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+ <name>
+insecure HTTPS without permission
+ </name>
+ <command>
+https://%HOSTIP:%HOSTPORT/want/305 --cacert moooo
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
+</protocol>
+<errorcode>
+60
+</errorcode>
+</verify>
diff --git a/tests/data/test403 b/tests/data/test403
new file mode 100644 (file)
index 0000000..4c04366
--- /dev/null
@@ -0,0 +1,30 @@
+#
+# Server-side
+<reply name="1">
+<data>
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+ <name>
+insecure FTPS without permission
+ </name>
+ <command>
+ ftps://%HOSTIP:%FTPSPORT/403 --cacert foo
+</command>
+</test>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+filter off really nothing
+</strip>
+<errorcode>
+60
+</errorcode>
+<protocol>
+</protocol>
+</verify>