aboutsummaryrefslogtreecommitdiff
path: root/tests/data
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
parent424063235bfd55ad6d6f42fd50ba66f247eea064 (diff)
Added test600 and test601, SFTP and SCP file retrieval tests.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test60044
-rw-r--r--tests/data/test60144
2 files changed, 88 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>
diff --git a/tests/data/test601 b/tests/data/test601
new file mode 100644
index 000000000..bd394608a
--- /dev/null
+++ b/tests/data/test601
@@ -0,0 +1,44 @@
+<testcase>
+<info>
+<keywords>
+SCP
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data mode="text">
+Test data
+for ssh test
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+scp
+</server>
+ <name>
+SCP retrieval
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT/%PWD/log/file601.txt
+</command>
+<file name="log/file601.txt">
+Test data
+for ssh test
+</file>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+</protocol>
+<valgrind>
+disable
+</valgrind>
+</verify>
+</testcase>