From: Daniel Stenberg Date: Fri, 17 Nov 2000 10:05:56 +0000 (+0000) Subject: config file test X-Git-Tag: curl-7_5~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d16e1a7777e4ecddbb2c8943dee381adc6a5397;p=thirdparty%2Fcurl.git config file test --- diff --git a/tests/data/command17.txt b/tests/data/command17.txt new file mode 100644 index 0000000000..96e8d47f8a --- /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 0000000000..03900c86ad --- /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 0000000000..f9f4ec3086 --- /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 0000000000..4632d16123 --- /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 0000000000..bd2ebe61b6 --- /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