xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | FILE |
| 5 | </keywords> |
| 6 | </info> |
| 7 | |
| 8 | # no Server-side |
| 9 | |
| 10 | # Client-side |
| 11 | <client> |
| 12 | <server> |
| 13 | file |
| 14 | </server> |
| 15 | <name> |
| 16 | "upload" with file:// |
| 17 | </name> |
| 18 | <command option="no-include"> |
| 19 | file://localhost%FILE_PWD/log/result%TESTNUMBER.txt -T log/upload%TESTNUMBER.txt |
| 20 | </command> |
| 21 | <file name="log/upload%TESTNUMBER.txt"> |
| 22 | data |
| 23 | in |
| 24 | file |
| 25 | to |
| 26 | write |
| 27 | </file> |
| 28 | </client> |
| 29 | |
| 30 | # Verify data after the test has been "shot" |
| 31 | <verify> |
| 32 | <file name="log/result%TESTNUMBER.txt"> |
| 33 | data |
| 34 | in |
| 35 | file |
| 36 | to |
| 37 | write |
| 38 | </file> |
| 39 | </verify> |
| 40 | </testcase> |