deps/curl/tests/data/test1440
raw| 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | --write-out |
| 5 | FILE |
| 6 | </keywords> |
| 7 | </info> |
| 8 | # Server-side |
| 9 | <reply> |
| 10 | </reply> |
| 11 | |
| 12 | # Client-side |
| 13 | <client> |
| 14 | <server> |
| 15 | file |
| 16 | </server> |
| 17 | |
| 18 | <name> |
| 19 | Check --write-out with trailing %{ |
| 20 | </name> |
| 21 | <command> |
| 22 | file://localhost/%PWD/log/non-existent-file.txt --write-out '%{' |
| 23 | </command> |
| 24 | </client> |
| 25 | |
| 26 | # Verify data |
| 27 | <verify> |
| 28 | <errorcode> |
| 29 | 37 |
| 30 | </errorcode> |
| 31 | <stdout nonewline="yes"> |
| 32 | %{ |
| 33 | </stdout> |
| 34 | </verify> |
| 35 | </testcase> |