config file test
authorDaniel Stenberg <daniel@haxx.se>
Fri, 17 Nov 2000 10:05:56 +0000 (10:05 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 17 Nov 2000 10:05:56 +0000 (10:05 +0000)
tests/data/command17.txt [new file with mode: 0644]
tests/data/http17.txt [new file with mode: 0644]
tests/data/name17.txt [new file with mode: 0644]
tests/data/reply17.txt [new file with mode: 0644]
tests/data/stdin17.txt [new file with mode: 0644]

diff --git a/tests/data/command17.txt b/tests/data/command17.txt
new file mode 100644 (file)
index 0000000..96e8d47
--- /dev/null
@@ -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 (file)
index 0000000..03900c8
--- /dev/null
@@ -0,0 +1,6 @@
+MOOO /that.site.com/17 HTTP/1.0\r
+User-Agent: agent007 license to drill\r
+Host: 127.0.0.1:8999\r
+Pragma: no-cache\r
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+\r
diff --git a/tests/data/name17.txt b/tests/data/name17.txt
new file mode 100644 (file)
index 0000000..f9f4ec3
--- /dev/null
@@ -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 (file)
index 0000000..4632d16
--- /dev/null
@@ -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 (file)
index 0000000..bd2ebe6
--- /dev/null
@@ -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