diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-03-24 02:15:20 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-03-24 02:15:20 +0000 |
commit | 0dd1219668de43b675a0f3f1c7521b5f823c6895 (patch) | |
tree | a62ad3e4b56b28ff5cd86bd5cc032bb8939f413a /tests/data | |
parent | b7131009fbf67e5ac6f1ce1db9e8ba9ab602454a (diff) |
Fixed a memory leak when specifying a proxy with a file: URL and added
test case 288 to verify it.
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/Makefile.am | 2 | ||||
-rw-r--r-- | tests/data/test288 | 42 |
2 files changed, 43 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 440588511..f5d3039f9 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -37,4 +37,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test274 test275 test524 test525 test276 test277 test526 test527 test528 \ test530 DISABLED test278 test279 test531 test280 test529 test532 test533 \ test534 test535 test281 test537 test282 test283 test284 test538 test285 \ - test286 test307 test308 test287 test400 + test286 test307 test308 test287 test400 test288 diff --git a/tests/data/test288 b/tests/data/test288 new file mode 100644 index 000000000..da691451a --- /dev/null +++ b/tests/data/test288 @@ -0,0 +1,42 @@ +<testcase> +# Server-side +<reply> +<data> +foo + bar +bar + foo +moo +</data> +</reply> + +# Client-side +<client> +<server> +none +</server> +<features> +file +</features> + <name> +file:// with (unsupported) proxy, authentication and range + </name> +<setenv> +all_proxy=http://fake:user@%HOSTIP:%HTTPPORT/ +</setenv> + <command> +file://localhost/%PWD/log/test288.txt +</command> +<file name="log/test288.txt"> +foo + bar +bar + foo +moo +</file> +</client> + +# Verify data after the test has been "shot" +<verify> +</verify> +</testcase> |