2019-01-08 16:58:50 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
curl_easy_getinfo
|
|
|
|
CURLINFO_PROTOCOL
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
none
|
|
|
|
</server>
|
|
|
|
<features>
|
|
|
|
file
|
|
|
|
</features>
|
|
|
|
<tool>
|
2021-03-13 00:38:26 +08:00
|
|
|
lib%TESTNUMBER
|
2019-01-08 16:58:50 +08:00
|
|
|
</tool>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
CURLINFO_PROTOCOL for file:// transfer
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
file://%FILE_PWD/log/data%TESTNUMBER
|
2019-01-08 16:58:50 +08:00
|
|
|
</command>
|
2021-03-13 00:38:26 +08:00
|
|
|
<file name="log/data%TESTNUMBER">
|
2019-01-08 16:58:50 +08:00
|
|
|
hello
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify that the test runs to completion without crashing
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
0
|
|
|
|
</errorcode>
|
|
|
|
<stdout>
|
|
|
|
hello
|
|
|
|
Protocol: 400
|
|
|
|
</stdout>
|
|
|
|
</verify>
|
|
|
|
|
|
|
|
</testcase>
|