lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | SFTP |
| 5 | pre-quote |
| 6 | NOBODY |
| 7 | </keywords> |
| 8 | </info> |
| 9 | |
| 10 | # |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | <data sendzero="yes"> |
| 14 | </data> |
| 15 | </reply> |
| 16 | |
| 17 | # |
| 18 | # Client-side |
| 19 | <client> |
| 20 | <server> |
| 21 | sftp |
| 22 | </server> |
| 23 | <name> |
| 24 | SFTP quote remove file with NOBODY |
| 25 | </name> |
| 26 | <command> |
| 27 | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -I -Q "rm %PWD/log/file627.txt" sftp://%HOSTIP:%SSHPORT --insecure |
| 28 | </command> |
| 29 | <postcheck> |
| 30 | perl %SRCDIR/libtest/test610.pl gone %PWD/log/test627.txt |
| 31 | </postcheck> |
| 32 | <file name="log/file627.txt"> |
| 33 | Dummy test file for remove test |
| 34 | </file> |
| 35 | </client> |
| 36 | |
| 37 | # |
| 38 | # Verify data after the test has been "shot" |
| 39 | <verify> |
| 40 | <valgrind> |
| 41 | disable |
| 42 | </valgrind> |
| 43 | <protocol> |
| 44 | </protocol> |
| 45 | </verify> |
| 46 | </testcase> |