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/test610 | |
parent | 28dde78dde21f20ab5ee491455828c3cf338ad5c (diff) |
Added tests 610-612 to test more SFTP post-quote commands.
Diffstat (limited to 'tests/data/test610')
-rw-r--r-- | tests/data/test610 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/data/test610 b/tests/data/test610 new file mode 100644 index 000000000..b81acaeb4 --- /dev/null +++ b/tests/data/test610 @@ -0,0 +1,47 @@ +<testcase> +<info> +<keywords> +SFTP +post-quote +</keywords> +</info> + +# +# Server-side +<reply> +<data> +Dummy test file for rmdir test +</data> +</reply> + +# +# Client-side +<client> +<server> +sftp +</server> +<precheck> +perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test610.dir +</precheck> + <name> +SFTP post-quote rmdir + </name> + <command> +--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rmdir %PWD/log/test610.dir" sftp://%HOSTIP:%SSHPORT%PWD/log/file610.txt +</command> +<postcheck> +perl %SRCDIR/libtest/test610.pl gone %PWD/log/test610.dir +</postcheck> +<file name="log/file610.txt"> +Dummy test file for rmdir test +</file> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<valgrind> +disable +</valgrind> +</verify> +</testcase> |