diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2014-03-13 03:22:02 +0100 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2014-03-14 23:38:00 +0100 |
commit | 61591eee68b4820442feeacfb7670fd091b441b1 (patch) | |
tree | 1721c4d44f4893844a874887cc1df497f9608762 /tests/data/test640 | |
parent | 596800378d05e62f50043ef01d3b42c0016773a4 (diff) |
test640/1: add tests for --head with sftp and scp
This option is currently rather useless with these protocols
when no quote command is given, but it is valid.
Diffstat (limited to 'tests/data/test640')
-rw-r--r-- | tests/data/test640 | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/data/test640 b/tests/data/test640 new file mode 100644 index 000000000..e3e715ba1 --- /dev/null +++ b/tests/data/test640 @@ -0,0 +1,41 @@ +<testcase> +<info> +<keywords> +SFTP +NOBODY +</keywords> +</info> + +# +# Server-side +<reply> +<data> +</data> +</reply> + +# +# Client-side +<client> +<server> +sftp +</server> + <name> +SFTP --head retrieval + </name> + <command> +--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/log/file640.txt --insecure --head +</command> +<file name="log/file640.txt"> +Test data +for ssh test +</file> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<valgrind> +disable +</valgrind> +</verify> +</testcase> |