1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-18 07:25:14 -05:00
curl/tests/data/test1220
Marcel Raad d81dbae19f
tests: use %FILE_PWD for file:// URLs
This way, we always have exactly one slash after the host name, making
the tests pass when curl is compiled with the MSYS GCC.

Closes https://github.com/curl/curl/pull/4512
2019-10-21 17:28:48 +02:00

38 lines
507 B
Plaintext

<testcase>
<info>
<keywords>
FILE
URL
</keywords>
</info>
# Server-side
<reply>
<data>
</data>
</reply>
# Client-side
<client>
<server>
file
</server>
<name>
file:// URLs with query string
</name>
<command option="no-include">
file://localhost%FILE_PWD/log/test1220.txt?a_query=foobar#afragment
</command>
<file name="log/test1220.txt">
contents in a single file
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<stdout>
contents in a single file
</stdout>
</verify>
</testcase>