1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 09:08:49 -05:00
curl/tests/data/test1558
Daniel Stenberg f6bb05ccbd
test1558: verify CURLINFO_PROTOCOL on file:// transfer
Attempt to reproduce issue #3444.

Closes #3447
2019-01-10 11:22:48 +01:00

51 lines
591 B
Plaintext

<testcase>
<info>
<keywords>
curl_easy_getinfo
CURLINFO_PROTOCOL
</keywords>
</info>
<reply>
</reply>
<client>
<server>
none
</server>
<features>
file
</features>
<tool>
lib1558
</tool>
<name>
CURLINFO_PROTOCOL for file:// transfer
</name>
<setenv>
# force MSYS2 to not convert the file: URL
MSYS2_ARG_CONV_EXCL=file:
</setenv>
<command>
file:%FILE_PWD/log/data1558
</command>
<file name="log/data1558">
hello
</file>
</client>
#
# Verify that the test runs to completion without crashing
<verify>
<errorcode>
0
</errorcode>
<stdout>
hello
Protocol: 400
</stdout>
</verify>
</testcase>