summaryrefslogtreecommitdiff
path: root/tests/data/test434
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test434')
-rw-r--r--tests/data/test43448
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/data/test434 b/tests/data/test434
new file mode 100644
index 000000000..2ab0fc1af
--- /dev/null
+++ b/tests/data/test434
@@ -0,0 +1,48 @@
+<testcase>
+
+<info>
+<keywords>
+--config
+</keywords>
+</info>
+
+#
+<reply>
+<data>
+HTTP/1.1 200 OK
+Content-Length: 6
+Content-Type: text/1
+
+-foo-
+</data>
+</reply>
+
+#
+<client>
+<file name="log/config434" nonewline="yes">
+url = %HOSTIP:%HTTPPORT/434
+</file>
+<server>
+http
+</server>
+<name>
+-K with a single line without newline
+</name>
+<command>
+-K log/config434
+</command>
+</client>
+
+#
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
+GET /434 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+
+</protocol>
+</verify>
+</testcase>