aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test603
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/test603
parent844f5b6b459878acf7ac3256a3612defa4573ba3 (diff)
Added SFTP and SCP upload tests in test602 & test603
Diffstat (limited to 'tests/data/test603')
-rw-r--r--tests/data/test60343
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/data/test603 b/tests/data/test603
new file mode 100644
index 000000000..96894df98
--- /dev/null
+++ b/tests/data/test603
@@ -0,0 +1,43 @@
+<testcase>
+<info>
+<keywords>
+SCP
+SCP upload
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+scp
+</server>
+ <name>
+SCP upload
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file603.txt scp://%HOSTIP:%SSHPORT/%PWD/log/upload.603
+</command>
+<file name="log/file603.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>