From f6251734fcb118bb513f8484b45aa653f5c76eb1 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 30 Aug 2007 23:03:59 +0000 Subject: Added more accurate error code returns from SFTP operations. Added test case 615 to test an SFTP upload failure. --- tests/data/test615 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 tests/data/test615 (limited to 'tests/data/test615') diff --git a/tests/data/test615 b/tests/data/test615 new file mode 100644 index 000000000..124982644 --- /dev/null +++ b/tests/data/test615 @@ -0,0 +1,44 @@ + + + +SFTP +SFTP put +FAILURE + + + +# +# Client-side + + +sftp + + +perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test615.dir + + +SFTP put remote failure + + +--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file615.txt sftp://%HOSTIP:%SSHPORT%PWD/log/test615.dir/rofile.txt + + +perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test615.dir + + +Test data +for ssh upload test + + + +# +# Verify data after the test has been "shot" + + +9 + + +disable + + + -- cgit v1.2.3