diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-04-23 23:00:38 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-04-23 23:00:38 +0000 |
commit | 6a35841b2edcbd865e914ec33ea0568199a26a8a (patch) | |
tree | b2bcac094797fa087165fc1007687f2afe83a299 /tests/data/test611 | |
parent | 28dde78dde21f20ab5ee491455828c3cf338ad5c (diff) |
Added tests 610-612 to test more SFTP post-quote commands.
Diffstat (limited to 'tests/data/test611')
-rw-r--r-- | tests/data/test611 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/data/test611 b/tests/data/test611 new file mode 100644 index 000000000..0016edc32 --- /dev/null +++ b/tests/data/test611 @@ -0,0 +1,47 @@ +<testcase> +<info> +<keywords> +SFTP +post-quote +</keywords> +</info> + +# +# Server-side +<reply> +<data> +Dummy test file for rename test +</data> +</reply> + +# +# Client-side +<client> +<server> +sftp +</server> +<precheck> +perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test611.dir +</precheck> + <name> +SFTP post-quote rename + </name> + <command> +--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/test611.dir %PWD/log/test611.new" sftp://%HOSTIP:%SSHPORT%PWD/log/file611.txt +</command> +<postcheck> +perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test611.new +</postcheck> +<file name="log/file611.txt"> +Dummy test file for rename test +</file> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<valgrind> +disable +</valgrind> +</verify> +</testcase> |