un-nest curl
This commit is contained in:
45
curl-8.15.0/tests/data/test1599
Normal file
45
curl-8.15.0/tests/data/test1599
Normal file
@@ -0,0 +1,45 @@
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
netrc
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
# Test based on GitHub issue 17659
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
-foo-
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
ftp
|
||||
</server>
|
||||
<name>
|
||||
FTP with netrc using no user but control code in password
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/netrc%TESTNUMBER
|
||||
</command>
|
||||
<tool>
|
||||
lib%TESTNUMBER
|
||||
</tool>
|
||||
<file name="%LOGDIR/netrc%TESTNUMBER" nonewline="yes">
|
||||
default passwor?dlogin anonymou\ ' password login anonymous passwor?d.'macdef
|
||||
</file>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
0
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
Reference in New Issue
Block a user