config file test

This commit is contained in:
Daniel Stenberg 2000-11-17 10:05:56 +00:00
parent 2297bc4791
commit 2d16e1a777
5 changed files with 23 additions and 0 deletions

1
tests/data/command17.txt Normal file
View File

@ -0,0 +1 @@
-K - %HOSTIP:%HOSTPORT/that.site.com/17

6
tests/data/http17.txt Normal file
View File

@ -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, */*

1
tests/data/name17.txt Normal file
View File

@ -0,0 +1 @@
HTTP with config file on stdin

4
tests/data/reply17.txt Normal file
View File

@ -0,0 +1,4 @@
HTTP/1.1 200 OK
Funny-head: yesyes
This is the proof it works

11
tests/data/stdin17.txt Normal file
View File

@ -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