From 040a4443a1d36447535d45953d385a8d70f3b064 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 13 Mar 2008 22:51:39 +0000 Subject: Added tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt to reproduce the --ftp-create-dirs problem reported by Brian Ulm, but that seems to need a call curl_easy_reset() which this test case doesn't do. --- tests/data/test624 | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 tests/data/test624 (limited to 'tests/data/test624') diff --git a/tests/data/test624 b/tests/data/test624 new file mode 100644 index 000000000..818c544a5 --- /dev/null +++ b/tests/data/test624 @@ -0,0 +1,47 @@ + + + +SFTP +SFTP put +--ftp-create-dirs + + + +# +# Server-side + + + +# +# Client-side + + +sftp + + +SFTP put with --ftp-create-dirs + + +--ftp-create-dirs --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file624.txt sftp://%HOSTIP:%SSHPORT%PWD/log/test624.dir/upload.624 + + +perl %SRCDIR/libtest/test610.pl move %PWD/log/test624.dir/upload.624 %PWD/log/upload.624 rmdir %PWD/log/test624.dir + + +Test data +for ssh upload test + + + +# +# Verify data after the test has been "shot" + + +Test data +for ssh upload test + + +disable + + + -- cgit v1.2.3