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

41 lines
476 B
Plaintext

<testcase>
<info>
<keywords>
FILE
</keywords>
</info>
# no Server-side
# Client-side
<client>
<server>
file
</server>
<name>
"upload" with file://
</name>
<command option="no-include">
file://localhost%FILE_PWD/log/result204.txt -T log/upload204.txt
</command>
<file name="log/upload204.txt">
data
in
file
to
write
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<file name="log/result204.txt">
data
in
file
to
write
</file>
</verify>
</testcase>