summaryrefslogtreecommitdiff
path: root/tests/data/test608
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-04-04 00:48:37 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-04-04 00:48:37 +0000
commit27d2d780598b1f73fc71489c6e9933a313e72521 (patch)
treee09e56653de615099c9f2288ef670157f33e4a1e /tests/data/test608
parent7d48d851a2d2a810f6acac1e31332737c23ec868 (diff)
downloadcurl-27d2d780598b1f73fc71489c6e9933a313e72521.tar.gz
Added more SSH tests (left disabled for now).
Diffstat (limited to 'tests/data/test608')
-rw-r--r--tests/data/test60844
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/data/test608 b/tests/data/test608
new file mode 100644
index 000000000..0a307fb18
--- /dev/null
+++ b/tests/data/test608
@@ -0,0 +1,44 @@
+<testcase>
+<info>
+<keywords>
+SFTP
+post-quote
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data>
+Test file for rename test
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+sftp
+</server>
+ <name>
+SFTP post-quote rename
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/file608.txt %PWD/log/file608-renamed.txt" sftp://%HOSTIP:%SSHPORT%PWD/log/file608.txt
+</command>
+<file name="log/file608.txt">
+Test file for rename test
+</file>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<file name="log/file608-renamed.txt">
+Test file for rename test
+</file>
+<valgrind>
+disable
+</valgrind>
+</verify>
+</testcase>