diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-03-06 01:15:28 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-03-06 01:15:28 +0000 |
commit | b16ea66cec030569fd5b44b3e928bf06c573a6f9 (patch) | |
tree | 41af8006b04c5dbe55d8b26f0fd0a06d97172c6a /tests/data/test617 | |
parent | 80cec5a62abb2fa7f9d33d7ad80bb49f4aa1a30a (diff) |
Added tests 616 and 617 to see how SFTP and SCP cope with zero-length
files, as questioned by Mike Protts. SFTP does for me but SCP doesn't
so test 617 is disabled for now.
Diffstat (limited to 'tests/data/test617')
-rw-r--r-- | tests/data/test617 | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/data/test617 b/tests/data/test617 new file mode 100644 index 000000000..acd7f7491 --- /dev/null +++ b/tests/data/test617 @@ -0,0 +1,39 @@ +<testcase> +<info> +<keywords> +SCP +zero-length +</keywords> +</info> + +# +# Server-side +<reply> +<data sendzero="yes"> +</data> +</reply> + +# +# Client-side +<client> +<server> +scp +</server> + <name> +SCP retrieval of empty file + </name> + <command> +--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%PWD/log/file617.txt +</command> +<file name="log/file617.txt"> +</file> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<valgrind> +disable +</valgrind> +</verify> +</testcase> |