diff options
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/DISABLED | 1 | ||||
-rw-r--r-- | tests/data/test604 | 33 | ||||
-rw-r--r-- | tests/data/test605 | 33 |
3 files changed, 67 insertions, 0 deletions
diff --git a/tests/data/DISABLED b/tests/data/DISABLED index f58fe3002..eb6c9a109 100644 --- a/tests/data/DISABLED +++ b/tests/data/DISABLED @@ -9,3 +9,4 @@ 602 603 604 +605 diff --git a/tests/data/test604 b/tests/data/test604 new file mode 100644 index 000000000..77610dea5 --- /dev/null +++ b/tests/data/test604 @@ -0,0 +1,33 @@ +<testcase> +<info> +<keywords> +SFTP +FAILURE +</keywords> +</info> + +# +# Client-side +<client> +<server> +sftp +</server> + <name> +SFTP retrieval of nonexistent file + </name> + <command> +--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<errorcode> +79 +</errorcode> +<valgrind> +disable +</valgrind> +</verify> +</testcase> diff --git a/tests/data/test605 b/tests/data/test605 new file mode 100644 index 000000000..3835239c5 --- /dev/null +++ b/tests/data/test605 @@ -0,0 +1,33 @@ +<testcase> +<info> +<keywords> +SCP +FAILURE +</keywords> +</info> + +# +# Client-side +<client> +<server> +scp +</server> + <name> +SCP retrieval of nonexistent file + </name> + <command> +--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<errorcode> +78 +</errorcode> +<valgrind> +disable +</valgrind> +</verify> +</testcase> |