mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
test375: verify that --proxy errors out if proxy is disabled in the build
Closes #8565
This commit is contained in:
parent
95e8515ca0
commit
3e842078f3
@ -61,7 +61,7 @@ test334 test335 test336 test337 test338 test339 test340 test341 test342 \
|
||||
test343 test344 test345 test346 test347 test348 test349 test350 test351 \
|
||||
test352 test353 test354 test355 test356 test357 test358 test359 test360 \
|
||||
test361 test362 test363 test364 test365 test366 test367 test368 test369 \
|
||||
test370 test371 test372 test373 test374 \
|
||||
test370 test371 test372 test373 test374 test375 \
|
||||
\
|
||||
test380 test381 test383 test384 test385 test386 \
|
||||
\
|
||||
|
33
tests/data/test375
Normal file
33
tests/data/test375
Normal file
@ -0,0 +1,33 @@
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
CURL_DISABLE_PROXY
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
<client>
|
||||
<features>
|
||||
!proxy
|
||||
</features>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
<name>
|
||||
Disabled proxy should make curl fail with --proxy
|
||||
</name>
|
||||
<command>
|
||||
-x wohoo http://example.com/
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<stderr>
|
||||
curl: proxy support is disabled in this libcurl
|
||||
</stderr>
|
||||
<errorcode>
|
||||
4
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
Loading…
Reference in New Issue
Block a user