aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-04-01 06:28:12 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-04-01 06:28:12 +0000
commitef10eaeb29e3a8a2ad92e10f44679e1298fce1d5 (patch)
treea4f30d19c0674892724644720c114f61d3aa03ce
parentfce4dcccd83cf3220984bcb9a596f30c5e51b681 (diff)
Added scp and sftp nonexistent file retrieval tests, but leave them
disabled for now.
-rw-r--r--tests/data/DISABLED1
-rw-r--r--tests/data/test60433
-rw-r--r--tests/data/test60533
3 files changed, 67 insertions, 0 deletions
diff --git a/tests/data/DISABLED b/tests/data/DISABLED
index f58fe3002..eb6c9a109 100644
--- a/tests/data/DISABLED
+++ b/tests/data/DISABLED
@@ -9,3 +9,4 @@
602
603
604
+605
diff --git a/tests/data/test604 b/tests/data/test604
new file mode 100644
index 000000000..77610dea5
--- /dev/null
+++ b/tests/data/test604
@@ -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
index 000000000..3835239c5
--- /dev/null
+++ b/tests/data/test605
@@ -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>