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