| xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> | ||||
| 3 | <keywords> | ||||
| 4 | curl_easy_getinfo | ||||
| 5 | CURLINFO_PROTOCOL | ||||
| 6 | </keywords> | ||||
| 7 | </info> | ||||
| 8 | |||||
| 9 | <reply> | ||||
| 10 | </reply> | ||||
| 11 | |||||
| 12 | <client> | ||||
| 13 | <server> | ||||
| 14 | none | ||||
| 15 | </server> | ||||
| 16 | <features> | ||||
| 17 | file | ||||
| 18 | </features> | ||||
| 19 | <tool> | ||||
| 20 | lib%TESTNUMBER | ||||
| 21 | </tool> | ||||
| 22 | |||||
| 23 | <name> | ||||
| 24 | CURLINFO_PROTOCOL for file:// transfer | ||||
| 25 | </name> | ||||
| 26 | <command> | ||||
| 27 | file://%FILE_PWD/log/data%TESTNUMBER | ||||
| 28 | </command> | ||||
| 29 | <file name="log/data%TESTNUMBER"> | ||||
| 30 | hello | ||||
| 31 | </file> | ||||
| 32 | </client> | ||||
| 33 | |||||
| 34 | # | ||||
| 35 | # Verify that the test runs to completion without crashing | ||||
| 36 | <verify> | ||||
| 37 | <errorcode> | ||||
| 38 | 0 | ||||
| 39 | </errorcode> | ||||
| 40 | <stdout> | ||||
| 41 | hello | ||||
| 42 | Protocol: 400 | ||||
| 43 | </stdout> | ||||
| 44 | </verify> | ||||
| 45 | |||||
| 46 | </testcase> | ||||