curl-curl/tests/data/test1659
Daniel Stenberg b98981e16b
url: don't assume all transfers have hostnames
Follow-up from 412cd2577a

Add test 1659 to verify --connect-to when doing file:// transfers.

Reported-by: James Fuller
Closes #20948
2026-03-17 10:26:35 +01:00

28 lines
419 B
XML

<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
--connect-to
FILE
</keywords>
</info>
<client>
<features>
file
</features>
<name>
--connect-to when using file:// URL
</name>
<command>
file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt --connect-to localhost:8080:localhost:8080
</command>
<file name="%LOGDIR/test%TESTNUMBER.txt">
1234567890
</file>
</client>
<verify>
</verify>
</testcase>