mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:03:40 +03:00
David Hull made the file: URL parser also accept the somewhat sloppy file
syntax: file:/path. I added test case 203 to verify this.
This commit is contained in:
parent
0701b973df
commit
e9c835ad06
5 changed files with 58 additions and 2 deletions
|
|
@ -24,4 +24,4 @@ test62 test63 test64 test65 test66 test144 test145 test67 test68 test41 \
|
|||
test40 test42 test69 test70 test71 test72 test73 test146 test505 \
|
||||
test74 test75 test76 test77 test78 test147 test148 test506 test79 test80 \
|
||||
test81 test82 test83 test84 test85 test86 test87 test507 test149 test88 \
|
||||
test89 test90 test508 test91 test92
|
||||
test89 test90 test508 test91 test92 test203
|
||||
|
|
|
|||
34
tests/data/test203
Normal file
34
tests/data/test203
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
foo
|
||||
bar
|
||||
bar
|
||||
foo
|
||||
moo
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
<name>
|
||||
file:/path URL with a single slash
|
||||
</name>
|
||||
<command>
|
||||
file:%PWD/log/test203.txt
|
||||
</command>
|
||||
<file name="log/test203.txt">
|
||||
foo
|
||||
bar
|
||||
bar
|
||||
foo
|
||||
moo
|
||||
</file>
|
||||
</test>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
</verify>
|
||||
Loading…
Add table
Add a link
Reference in a new issue