Commit bf9a1382 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

more tests

parent b3f9c636
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
#
# Server-side
<reply name="1">
<reply>
<data nocheck=1>
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT

tests/data/test75

0 → 100644
+33 −0
Original line number Diff line number Diff line
#
# 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>

tests/data/test76

0 → 100644
+29 −0
Original line number Diff line number Diff line
#
# 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>