aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test626
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-03-18 17:05:29 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-03-18 17:05:29 +0000
commita57098ea9b6148b900300b6dd385a3a7533bd656 (patch)
treea1468ebd6f99fad72e094caac994783d33522502 /tests/data/test626
parent6f3166c15b7fc951b10ba7cb2607527065264f0e (diff)
Added test 626 to reproduce an infinite loop when given an invalid
SFTP quote command reported by Vincent Le Normand, but left it disabled.
Diffstat (limited to 'tests/data/test626')
-rw-r--r--tests/data/test62642
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/data/test626 b/tests/data/test626
new file mode 100644
index 000000000..46360fb4e
--- /dev/null
+++ b/tests/data/test626
@@ -0,0 +1,42 @@
+<testcase>
+<info>
+<keywords>
+SFTP
+pre-quote
+FAILURE
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+sftp
+</server>
+ <name>
+SFTP invalid quote command
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "invalid-command foo bar" sftp://%HOSTIP:%SSHPORT%PWD/log/file626.txt
+</command>
+<file name="log/file626.txt">
+Test file for rename test
+</file>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<file name="log/file626-renamed.txt">
+Test file for rename test
+</file>
+<valgrind>
+disable
+</valgrind>
+</verify>
+</testcase>