curl/tests/data/test1516
Viktor Szakats 552e5305a1
test1516: avoid failure due to spaces in path
Sync the test path with test1515. If fixes the test when the perl tool
resides on a path with spaces in it. E.g. when using the perl from Git
for Windows. This is a workaround, there may be a better fix this
type of issue.

Similar fix for test1515: 38b055446ae46e4568328fa90e96a87fe71c56a7

Failure:
```
test 1516...[caching of manual libcurl DNS entries after dead connection]
lib1515.exe returned 3, when expecting 0
 1516: exit FAILED
=== Start of file stderr1516
 Test: lib1515
[...]
 17:59:32.390000 == Info: Expire cleared
 request http://testserver.example.com:63621/C:/Program Files/Git/path/15160001 failed with 3
 Test ended with result 3
=== End of file stderr1516
```
Ref: https://github.com/curl/curl/actions/runs/13184790755/job/36804217128?pr=16217#step:13:2805

Closes #16223
2025-02-06 20:34:06 +01:00

59 lines
877 B
Plaintext

<testcase>
<info>
<keywords>
HTTP
multi
FAILURE
resolve
</keywords>
</info>
<reply>
# Close the connection after the first request but don't tell the client to do
# so! When starting the second request it'll detect a dead connection and must
# not clean the DNS entries added manually.
<data1>
HTTP/1.1 200 OK
Date: Thu, 03 Feb 2014 17:04:00 GMT
Server: test-server/fake swsclose
Content-Type: text/html
Content-Length: 6
hello
</data1>
<data2>
HTTP/1.1 200 OK
Date: Thu, 03 Feb 2014 17:04:02 GMT
Server: test-server/fake swsclose
Connection: close
Content-Type: text/html
Content-Length: 6
hello
</data2>
</reply>
<client>
<server>
http
</server>
<tool>
lib1515
</tool>
<name>
caching of manual libcurl DNS entries after dead connection
</name>
<command>
path/%TESTNUMBER %HOSTIP %HTTPPORT
</command>
</client>
<verify>
<errorcode>
0
</errorcode>
</verify>
</testcase>