Added scp and sftp nonexistent file retrieval tests, but leave them
authorDan Fandrich <dan@coneharvesters.com>
Sun, 1 Apr 2007 06:28:12 +0000 (06:28 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Sun, 1 Apr 2007 06:28:12 +0000 (06:28 +0000)
disabled for now.

tests/data/DISABLED
tests/data/test604 [new file with mode: 0644]
tests/data/test605 [new file with mode: 0644]

index f58fe30..eb6c9a1 100644 (file)
@@ -9,3 +9,4 @@
 602
 603
 604
+605
diff --git a/tests/data/test604 b/tests/data/test604
new file mode 100644 (file)
index 0000000..77610de
--- /dev/null
@@ -0,0 +1,33 @@
+<testcase>
+<info>
+<keywords>
+SFTP
+FAILURE
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+sftp
+</server>
+ <name>
+SFTP retrieval of nonexistent file
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+79
+</errorcode>
+<valgrind>
+disable
+</valgrind>
+</verify>
+</testcase>
diff --git a/tests/data/test605 b/tests/data/test605
new file mode 100644 (file)
index 0000000..3835239
--- /dev/null
@@ -0,0 +1,33 @@
+<testcase>
+<info>
+<keywords>
+SCP
+FAILURE
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+scp
+</server>
+ <name>
+SCP retrieval of nonexistent file
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+78
+</errorcode>
+<valgrind>
+disable
+</valgrind>
+</verify>
+</testcase>