xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | SFTP |
| 5 | pre-quote |
| 6 | FAILURE |
| 7 | </keywords> |
| 8 | </info> |
| 9 | |
| 10 | # |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | </reply> |
| 14 | |
| 15 | # |
| 16 | # Client-side |
| 17 | <client> |
| 18 | <server> |
| 19 | sftp |
| 20 | </server> |
| 21 | <name> |
| 22 | SFTP invalid quote command |
| 23 | </name> |
| 24 | <command> |
| 25 | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "invalid-command foo bar" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure |
| 26 | </command> |
| 27 | <file name="log/file%TESTNUMBER.txt"> |
| 28 | Test file for rename test |
| 29 | </file> |
| 30 | </client> |
| 31 | |
| 32 | # |
| 33 | # Verify data after the test has been "shot" |
| 34 | <verify> |
| 35 | <errorcode> |
| 36 | 21 |
| 37 | </errorcode> |
| 38 | <valgrind> |
| 39 | disable |
| 40 | </valgrind> |
| 41 | </verify> |
| 42 | </testcase> |