xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | SFTP |
| 5 | multi |
| 6 | </keywords> |
| 7 | </info> |
| 8 | |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | <data> |
| 12 | </data> |
| 13 | </reply> |
| 14 | |
| 15 | # Client-side |
| 16 | <client> |
| 17 | <server> |
| 18 | sftp |
| 19 | </server> |
| 20 | <tool> |
| 21 | lib%TESTNUMBER |
| 22 | </tool> |
| 23 | <name> |
| 24 | SFTP upload using multi interface |
| 25 | </name> |
| 26 | <command> |
| 27 | Sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload%TESTNUMBER.txt %PWD/log/file%TESTNUMBER.txt %USER: |
| 28 | </command> |
| 29 | <file name="log/file%TESTNUMBER.txt"> |
| 30 | Moooooooooooo |
| 31 | upload this |
| 32 | </file> |
| 33 | </client> |
| 34 | |
| 35 | # Verify data after the test has been "shot" |
| 36 | <verify> |
| 37 | <valgrind> |
| 38 | disable |
| 39 | </valgrind> |
| 40 | <strip> |
| 41 | </strip> |
| 42 | <protocol> |
| 43 | </protocol> |
| 44 | <file name="log/file%TESTNUMBER.txt"> |
| 45 | Moooooooooooo |
| 46 | upload this |
| 47 | </file> |
| 48 | </verify> |
| 49 | </testcase> |