aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test602
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-03-26 19:23:00 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-03-26 19:23:00 +0000
commit2166645ce4091b14ef6fd25c594d184c4f700ba5 (patch)
tree211b98a599bfc85b36cd44d91d934ba457892030 /tests/data/test602
parent844f5b6b459878acf7ac3256a3612defa4573ba3 (diff)
Added SFTP and SCP upload tests in test602 & test603
Diffstat (limited to 'tests/data/test602')
-rw-r--r--tests/data/test60243
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/data/test602 b/tests/data/test602
new file mode 100644
index 000000000..327e95753
--- /dev/null
+++ b/tests/data/test602
@@ -0,0 +1,43 @@
+<testcase>
+<info>
+<keywords>
+SFTP
+SFTP put
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+sftp
+</server>
+ <name>
+SFTP put
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file602.txt sftp://%HOSTIP:%SSHPORT/%PWD/log/upload.602
+</command>
+<file name="log/file602.txt">
+Test data
+for ssh upload test
+</file>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<upload>
+Test data
+for ssh upload test
+</upload>
+<valgrind>
+disable
+</valgrind>
+</verify>
+</testcase>