xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | CURL_DISABLE_PROXY | ||||
5 | </keywords> | ||||
6 | </info> | ||||
7 | |||||
8 | <client> | ||||
9 | <features> | ||||
10 | !proxy | ||||
11 | </features> | ||||
12 | <server> | ||||
13 | none | ||||
14 | </server> | ||||
15 | <name> | ||||
16 | Disabled proxy should make curl fail with --proxy | ||||
17 | </name> | ||||
18 | <command> | ||||
19 | -x wohoo http://example.com/ | ||||
20 | </command> | ||||
21 | </client> | ||||
22 | |||||
23 | # | ||||
24 | # Verify data after the test has been "shot" | ||||
25 | <verify> | ||||
26 | <stderr mode="text"> | ||||
27 | curl: proxy support is disabled in this libcurl | ||||
28 | </stderr> | ||||
29 | <errorcode> | ||||
30 | 4 | ||||
31 | </errorcode> | ||||
32 | </verify> | ||||
33 | </testcase> |