aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test612
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-04-23 23:00:38 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-04-23 23:00:38 +0000
commit6a35841b2edcbd865e914ec33ea0568199a26a8a (patch)
treeb2bcac094797fa087165fc1007687f2afe83a299 /tests/data/test612
parent28dde78dde21f20ab5ee491455828c3cf338ad5c (diff)
Added tests 610-612 to test more SFTP post-quote commands.
Diffstat (limited to 'tests/data/test612')
-rw-r--r--tests/data/test61247
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/data/test612 b/tests/data/test612
new file mode 100644
index 000000000..972656a23
--- /dev/null
+++ b/tests/data/test612
@@ -0,0 +1,47 @@
+<testcase>
+<info>
+<keywords>
+SFTP
+post-quote
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data nocheck="1">
+Dummy test file for remove test
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+sftp
+</server>
+ <name>
+SFTP post-quote remove file
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file612.txt -Q "-rm %PWD/log/file612.txt" sftp://%HOSTIP:%SSHPORT%PWD/log/upload.612
+</command>
+<postcheck>
+perl %SRCDIR/libtest/test610.pl gone %PWD/log/test612.txt
+</postcheck>
+<file name="log/file612.txt">
+Dummy test file for remove test
+</file>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<upload>
+Dummy test file for remove test
+</upload>
+<valgrind>
+disable
+</valgrind>
+</verify>
+</testcase>