more tests

This commit is contained in:
Daniel Stenberg 2003-08-06 23:45:59 +00:00
parent b3f9c636b9
commit bf9a138276
4 changed files with 64 additions and 1 deletions

View File

@ -22,3 +22,4 @@ test500 test501 test502 test503 test504 test136 test57 test137 test138 \
test58 test139 test140 test141 test59 test60 test61 test142 test143 test62 \
test63 test64 test65 test66 test144 test145 test67 test68 test41 \
test40 test42 test69 test70 test71 test72 test73 test146 test505
test74 test75 test76

View File

@ -1,6 +1,6 @@
#
# Server-side
<reply name="1">
<reply>
<data nocheck=1>
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT

33
tests/data/test75 Normal file
View File

@ -0,0 +1,33 @@
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
none
</server>
<name>
HTTP, urlglob retrieval with bad range
</name>
<command option=no-output>
"http://%HOSTIP:%HOSTPORT/[1-1]" -o "log/weee#1.dump" --stderr -
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<errorcode>
3
</errorcode>
<stdout>
curl: (3) [globbing] error: illegal pattern or range specification after pos 24
</stdout>
</verify>

29
tests/data/test76 Normal file
View File

@ -0,0 +1,29 @@
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
none
</server>
<name>
HTTP, -O with no file name part in the URL
</name>
<command option=no-output>
http://%HOSTIP:%HOSTPORT/76/ -O
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<errorcode>
23
</errorcode>
</verify>