aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/command17.txt1
-rw-r--r--tests/data/http17.txt6
-rw-r--r--tests/data/name17.txt1
-rw-r--r--tests/data/reply17.txt4
-rw-r--r--tests/data/stdin17.txt11
5 files changed, 23 insertions, 0 deletions
diff --git a/tests/data/command17.txt b/tests/data/command17.txt
new file mode 100644
index 000000000..96e8d47f8
--- /dev/null
+++ b/tests/data/command17.txt
@@ -0,0 +1 @@
+-K - %HOSTIP:%HOSTPORT/that.site.com/17
diff --git a/tests/data/http17.txt b/tests/data/http17.txt
new file mode 100644
index 000000000..03900c86a
--- /dev/null
+++ b/tests/data/http17.txt
@@ -0,0 +1,6 @@
+MOOO /that.site.com/17 HTTP/1.0
+User-Agent: agent007 license to drill
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/name17.txt b/tests/data/name17.txt
new file mode 100644
index 000000000..f9f4ec308
--- /dev/null
+++ b/tests/data/name17.txt
@@ -0,0 +1 @@
+HTTP with config file on stdin
diff --git a/tests/data/reply17.txt b/tests/data/reply17.txt
new file mode 100644
index 000000000..4632d1612
--- /dev/null
+++ b/tests/data/reply17.txt
@@ -0,0 +1,4 @@
+HTTP/1.1 200 OK
+Funny-head: yesyes
+
+This is the proof it works
diff --git a/tests/data/stdin17.txt b/tests/data/stdin17.txt
new file mode 100644
index 000000000..bd2ebe61b
--- /dev/null
+++ b/tests/data/stdin17.txt
@@ -0,0 +1,11 @@
+#
+# Use a silly request without '--':
+request MOOO
+#
+# Set the user-agent using a short-option:
+# (NOTE: the agent string is stripped in the test program why this
+# will never be compared in the end)
+-A "agent007 license to drill\t"
+#
+# long option *with* '--':
+--max-time 180