mirror of
https://github.com/curl/curl.git
synced 2025-09-12 07:02:41 +03:00
test476: test ASCII FTP upload where file already uses CRLF
Closes #14717
This commit is contained in:
parent
ee17f35d43
commit
55672d0aa3
|
@ -77,7 +77,7 @@ test435 test436 test437 test438 test439 test440 test441 test442 test443 \
|
||||||
test444 test445 test446 test447 test448 test449 test450 test451 test452 \
|
test444 test445 test446 test447 test448 test449 test450 test451 test452 \
|
||||||
test453 test454 test455 test456 test457 test458 test459 test460 test461 \
|
test453 test454 test455 test456 test457 test458 test459 test460 test461 \
|
||||||
test462 test463 test467 test468 test469 test470 test471 test472 test473 \
|
test462 test463 test467 test468 test469 test470 test471 test472 test473 \
|
||||||
test474 test475 \
|
test474 test475 test476 \
|
||||||
\
|
\
|
||||||
test490 test491 test492 test493 test494 test495 test496 test497 test498 \
|
test490 test491 test492 test493 test494 test495 test496 test497 test498 \
|
||||||
test499 test500 test501 test502 test503 test504 test505 test506 test507 \
|
test499 test500 test501 test502 test503 test504 test505 test506 test507 \
|
||||||
|
|
45
tests/data/test476
Normal file
45
tests/data/test476
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
<testcase>
|
||||||
|
<info>
|
||||||
|
<keywords>
|
||||||
|
FTP
|
||||||
|
EPSV
|
||||||
|
STOR
|
||||||
|
TYPE A
|
||||||
|
</keywords>
|
||||||
|
</info>
|
||||||
|
|
||||||
|
# Client-side
|
||||||
|
<client>
|
||||||
|
<server>
|
||||||
|
ftp
|
||||||
|
</server>
|
||||||
|
<name>
|
||||||
|
FTP PASV upload ASCII file already using CRLF
|
||||||
|
</name>
|
||||||
|
<file name="%LOGDIR/test%TESTNUMBER.txt" crlf="yes">
|
||||||
|
%repeat[1750 x a line of text used for verifying this !%0a]%
|
||||||
|
</file>
|
||||||
|
<command>
|
||||||
|
"ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=a" -T %LOGDIR/test%TESTNUMBER.txt
|
||||||
|
</command>
|
||||||
|
</client>
|
||||||
|
|
||||||
|
# Verify data after the test has been "shot"
|
||||||
|
<verify>
|
||||||
|
<strip>
|
||||||
|
QUIT
|
||||||
|
</strip>
|
||||||
|
<upload crlf="yes">
|
||||||
|
%repeat[1750 x a line of text used for verifying this !%0a]%
|
||||||
|
</upload>
|
||||||
|
<protocol>
|
||||||
|
USER anonymous
|
||||||
|
PASS ftp@example.com
|
||||||
|
PWD
|
||||||
|
EPSV
|
||||||
|
TYPE A
|
||||||
|
STOR %TESTNUMBER
|
||||||
|
QUIT
|
||||||
|
</protocol>
|
||||||
|
</verify>
|
||||||
|
</testcase>
|
Loading…
Reference in New Issue
Block a user