From b16ea66cec030569fd5b44b3e928bf06c573a6f9 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 6 Mar 2008 01:15:28 +0000 Subject: 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. --- tests/data/test617 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 tests/data/test617 (limited to 'tests/data/test617') 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 @@ + + + +SCP +zero-length + + + +# +# Server-side + + + + + +# +# Client-side + + +scp + + +SCP retrieval of empty file + + +--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%PWD/log/file617.txt + + + + + +# +# Verify data after the test has been "shot" + + +disable + + + -- cgit v1.2.3