aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test600
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-03-26 18:04:05 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-03-26 18:04:05 +0000
commit844f5b6b459878acf7ac3256a3612defa4573ba3 (patch)
tree5bae4ec3d2ac778b70e9d77299fd690a8476476d /tests/data/test600
parent424063235bfd55ad6d6f42fd50ba66f247eea064 (diff)
Added test600 and test601, SFTP and SCP file retrieval tests.
Diffstat (limited to 'tests/data/test600')
-rw-r--r--tests/data/test60044
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/data/test600 b/tests/data/test600
new file mode 100644
index 000000000..5b56c748e
--- /dev/null
+++ b/tests/data/test600
@@ -0,0 +1,44 @@
+<testcase>
+<info>
+<keywords>
+SFTP
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data mode="text">
+Test data
+for ssh test
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+sftp
+</server>
+ <name>
+SFTP retrieval
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT/%PWD/log/file600.txt
+</command>
+<file name="log/file600.txt">
+Test data
+for ssh test
+</file>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+</protocol>
+<valgrind>
+disable
+</valgrind>
+</verify>
+</testcase>