aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test627
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-04-04 02:06:35 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-04-04 02:06:35 +0000
commit10232bfe9e313f14adaa8d4f1472f1eb1f8efe33 (patch)
tree436662a8022b5d60d2cc5245bc945c970a74b0ac /tests/data/test627
parenta9c1ca9fc5a80e858b0c85d8f8c838b4464526db (diff)
Added test627 to test SFTP with CURLOPT_NOBODY
Diffstat (limited to 'tests/data/test627')
-rw-r--r--tests/data/test62746
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/data/test627 b/tests/data/test627
new file mode 100644
index 000000000..3d86e7b11
--- /dev/null
+++ b/tests/data/test627
@@ -0,0 +1,46 @@
+<testcase>
+<info>
+<keywords>
+SFTP
+quote
+NOBODY
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data sendzero="yes">
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+sftp
+</server>
+ <name>
+SFTP quote remove file with NOBODY
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -I -Q "rm %PWD/log/file627.txt" sftp://%HOSTIP:%SSHPORT
+</command>
+<postcheck>
+perl %SRCDIR/libtest/test610.pl gone %PWD/log/test627.txt
+</postcheck>
+<file name="log/file627.txt">
+Dummy test file for remove test
+</file>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<valgrind>
+disable
+</valgrind>
+<protocol>
+</protocol>
+</verify>
+</testcase>