From 2d16e1a7777e4ecddbb2c8943dee381adc6a5397 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 17 Nov 2000 10:05:56 +0000 Subject: [PATCH] config file test --- tests/data/command17.txt | 1 + tests/data/http17.txt | 6 ++++++ tests/data/name17.txt | 1 + tests/data/reply17.txt | 4 ++++ tests/data/stdin17.txt | 11 +++++++++++ 5 files changed, 23 insertions(+) create mode 100644 tests/data/command17.txt create mode 100644 tests/data/http17.txt create mode 100644 tests/data/name17.txt create mode 100644 tests/data/reply17.txt create mode 100644 tests/data/stdin17.txt 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