From 61591eee68b4820442feeacfb7670fd091b441b1 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 13 Mar 2014 03:22:02 +0100 Subject: 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. --- tests/data/test640 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tests/data/test640 (limited to 'tests/data/test640') 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 @@ + + + +SFTP +NOBODY + + + +# +# Server-side + + + + + +# +# Client-side + + +sftp + + +SFTP --head retrieval + + +--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/log/file640.txt --insecure --head + + +Test data +for ssh test + + + +# +# Verify data after the test has been "shot" + + +disable + + + -- cgit v1.2.3