diff options
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/Makefile.am | 2 | ||||
-rw-r--r-- | tests/data/test94 | 42 |
2 files changed, 43 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 54614f5ad..14f57aa07 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -24,4 +24,4 @@ test62 test63 test64 test65 test66 test144 test145 test67 test68 test41 \ test40 test42 test69 test70 test71 test72 test73 test146 test505 \ test74 test75 test76 test77 test78 test147 test148 test506 test79 test80 \ test81 test82 test83 test84 test85 test86 test87 test507 test149 test88 \ -test89 test90 test508 test91 test92 test203 test93 +test89 test90 test508 test91 test92 test203 test93 test94 diff --git a/tests/data/test94 b/tests/data/test94 new file mode 100644 index 000000000..4a9b18689 --- /dev/null +++ b/tests/data/test94 @@ -0,0 +1,42 @@ +# +# Server-side +<reply> +<data nocheck=1> +HTTP/1.1 407 Needs proxy authentication +Server: test-server/fake swsclose yesyes +Proxy-Authenticate: Basic "oh please" +Connection: close + +bing +</data> +</reply> + +# +# Client-side +<client> +<server> +http +</server> + <name> +HTTPS GET with failed proxy auth + </name> + <command> +https://test.anything.really.com:94 -x %HOSTIP:%HOSTPORT +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<errorcode> +56 +</errorcode> +<strip> +^User-Agent:.* +</strip> +<protocol> +CONNECT test.anything.really.com:94 HTTP/1.0
+User-Agent: curl/7.11.0-CVS (i686-pc-linux-gnu) libcurl/7.11.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4
+
+</protocol> +</verify> |