curl/tests/data/test494
Daniel Stenberg 3fd80c7b59
tests: remove leading spaces from some tags
The threee tags `<name>`, `</name>` and `<command>` were frequently used
with a leading space that this removes. The reason this habbit is so
widespread in testcases is probably that they have been copy and pasted.

Hence, fixing them all now might curb this practice from now on.

Closes #12028
2023-10-04 14:15:23 +02:00

61 lines
721 B
Plaintext

<testcase>
<info>
<keywords>
FTP
EPSV
netrc
macdef
</keywords>
</info>
#
# Server-side
<reply>
<data>
blipp
</data>
</reply>
#
# Client-side
<client>
<server>
ftp
</server>
<name>
skip 'macdef' when parsing netrc
</name>
<command>
--netrc --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
<file name="%LOGDIR/netrc%TESTNUMBER" >
macdef testmacro
bin
cd default
cd login
put login.bin
cd ..
cd password
put password.bin
quit
machine %HOSTIP login user1 password passwd1
</file>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
USER user1
PASS passwd1
PWD
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>