From 2166645ce4091b14ef6fd25c594d184c4f700ba5 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 26 Mar 2007 19:23:00 +0000 Subject: Added SFTP and SCP upload tests in test602 & test603 --- tests/data/Makefile.am | 3 ++- tests/data/test600 | 2 +- tests/data/test601 | 2 +- tests/data/test602 | 43 +++++++++++++++++++++++++++++++++++++++++++ tests/data/test603 | 43 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 90 insertions(+), 3 deletions(-) create mode 100644 tests/data/test602 create mode 100644 tests/data/test603 (limited to 'tests') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index f5d3039f9..8924a394a 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -37,4 +37,5 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test274 test275 test524 test525 test276 test277 test526 test527 test528 \ test530 DISABLED test278 test279 test531 test280 test529 test532 test533 \ test534 test535 test281 test537 test282 test283 test284 test538 test285 \ - test286 test307 test308 test287 test400 test288 + test286 test307 test308 test287 test400 test288 test600 test601 test602 \ + test603 diff --git a/tests/data/test600 b/tests/data/test600 index 5b56c748e..46f960a9c 100644 --- a/tests/data/test600 +++ b/tests/data/test600 @@ -8,7 +8,7 @@ SFTP # # Server-side - + Test data for ssh test diff --git a/tests/data/test601 b/tests/data/test601 index bd394608a..e6f846d09 100644 --- a/tests/data/test601 +++ b/tests/data/test601 @@ -8,7 +8,7 @@ SCP # # Server-side - + Test data for ssh test diff --git a/tests/data/test602 b/tests/data/test602 new file mode 100644 index 000000000..327e95753 --- /dev/null +++ b/tests/data/test602 @@ -0,0 +1,43 @@ + + + +SFTP +SFTP put + + + +# +# Server-side + + + +# +# Client-side + + +sftp + + +SFTP put + + +--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file602.txt sftp://%HOSTIP:%SSHPORT/%PWD/log/upload.602 + + +Test data +for ssh upload test + + + +# +# Verify data after the test has been "shot" + + +Test data +for ssh upload test + + +disable + + + diff --git a/tests/data/test603 b/tests/data/test603 new file mode 100644 index 000000000..96894df98 --- /dev/null +++ b/tests/data/test603 @@ -0,0 +1,43 @@ + + + +SCP +SCP upload + + + +# +# Server-side + + + +# +# Client-side + + +scp + + +SCP upload + + +--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file603.txt scp://%HOSTIP:%SSHPORT/%PWD/log/upload.603 + + +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