1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-05 00:55:04 -05:00
curl/tests/data/test202
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
540 B
Plaintext

<testcase>
<info>
<keywords>
FILE
</keywords>
</info>
# Server-side
<reply>
<data>
</data>
</reply>
# Client-side
<client>
<server>
file
</server>
<name>
two file:// URLs to stdout
</name>
<command option="no-include">
file://localhost%FILE_PWD/log/test202.txt FILE://localhost%FILE_PWD/log/test202.txt
</command>
<file name="log/test202.txt">
contents in a single file
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<stdout>
contents in a single file
contents in a single file
</stdout>
</verify>
</testcase>