lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | SFTP |
| 5 | post-quote |
| 6 | acceptfail |
| 7 | asterisk |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # |
| 12 | # Server-side |
| 13 | <reply> |
| 14 | <data> |
| 15 | Dummy test file for rename test |
| 16 | </data> |
| 17 | </reply> |
| 18 | |
| 19 | # |
| 20 | # Client-side |
| 21 | <client> |
| 22 | <server> |
| 23 | sftp |
| 24 | </server> |
| 25 | <precheck> |
| 26 | perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test638.dir |
| 27 | </precheck> |
| 28 | <name> |
| 29 | SFTP post-quote rename * asterisk accept-fail |
| 30 | </name> |
| 31 | <command> |
| 32 | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-*rename %PWD/log/test638.dir %PWD/log/test638.new" sftp://%HOSTIP:%SSHPORT%PWD/log/file638.txt --insecure |
| 33 | </command> |
| 34 | <postcheck> |
| 35 | perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test638.new |
| 36 | </postcheck> |
| 37 | <file name="log/file638.txt"> |
| 38 | Dummy test file for rename test |
| 39 | </file> |
| 40 | </client> |
| 41 | |
| 42 | # |
| 43 | # Verify data after the test has been "shot" |
| 44 | <verify> |
| 45 | <valgrind> |
| 46 | disable |
| 47 | </valgrind> |
| 48 | </verify> |
| 49 | </testcase> |