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/test641 | |
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/test641')
-rw-r--r-- | tests/data/test641 | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/data/test641 b/tests/data/test641 new file mode 100644 index 000000000..beb59d6a7 --- /dev/null +++ b/tests/data/test641 @@ -0,0 +1,41 @@ +<testcase> +<info> +<keywords> +SCP +NOBODY +</keywords> +</info> + +# +# Server-side +<reply> +<data> +</data> +</reply> + +# +# Client-side +<client> +<server> +scp +</server> + <name> +SCP --head retrieval + </name> + <command> +--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%PWD/log/file641.txt --insecure --head +</command> +<file name="log/file641.txt"> +Test data +for ssh test +</file> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<valgrind> +disable +</valgrind> +</verify> +</testcase> |