test 527: bring back, not a dupe

Fixed the name to clarify the difference to 526.

Follow-up to 4ead4285a6
Closes #21942
This commit is contained in:
Daniel Stenberg 2026-06-10 08:14:10 +02:00
parent 5c6b488035
commit 4fcf9c8f59
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 65 additions and 1 deletions

View file

@ -82,7 +82,7 @@ test483 test484 test485 test486 test487 test488 test489 test490 test491 \
test492 test493 test494 test495 test496 test497 test498 test499 test500 \
test501 test502 test503 test504 test505 test506 test507 test508 test509 \
test510 test511 test512 test513 test514 test515 test516 test517 test518 \
test519 test520 test521 test522 test523 test524 test525 test526 \
test519 test520 test521 test522 test523 test524 test525 test526 test527 \
test528 test529 test530 test531 test532 test533 test534 test535 test536 \
test537 test538 test539 test540 test541 test542 test543 test544 test545 \
test546 test547 test548 test549 test550 test551 test552 test553 test554 \

64
tests/data/test527 Normal file
View file

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
FTP
PASV
RETR
multi
</keywords>
</info>
# Server-side
<reply>
<data>
file contents should appear once for each file
</data>
<datacheck>
file contents should appear once for each file
file contents should appear once for each file
file contents should appear once for each file
file contents should appear once for each file
</datacheck>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<tool>
lib526
</tool>
<name>
FTP RETR same file using different handles and closed connections
</name>
<command>
ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">
USER anonymous
PASS ftp@example.com
PWD
CWD path
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
EPSV
SIZE %TESTNUMBER
RETR %TESTNUMBER
EPSV
SIZE %TESTNUMBER
RETR %TESTNUMBER
EPSV
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>