aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test288
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-03-24 02:15:20 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-03-24 02:15:20 +0000
commit0dd1219668de43b675a0f3f1c7521b5f823c6895 (patch)
treea62ad3e4b56b28ff5cd86bd5cc032bb8939f413a /tests/data/test288
parentb7131009fbf67e5ac6f1ce1db9e8ba9ab602454a (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/test288')
-rw-r--r--tests/data/test28842
1 files changed, 42 insertions, 0 deletions
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>