test649: improve robustness
Remove check of upload data before the error is triggered as this may vary with network conditions. Closes #14526
This commit is contained in:
parent
e434cdb836
commit
9222f31201
@ -42,32 +42,12 @@ It contains at least an 8-bit byte value.
|
|||||||
#
|
#
|
||||||
# Verify data after the test has been "shot"
|
# Verify data after the test has been "shot"
|
||||||
<verify>
|
<verify>
|
||||||
<strippart>
|
|
||||||
s/^--------------------------[A-Za-z0-9]*/------------------------------/
|
|
||||||
s/boundary=------------------------[A-Za-z0-9]*/boundary=----------------------------/
|
|
||||||
</strippart>
|
|
||||||
<protocol>
|
<protocol>
|
||||||
EHLO %TESTNUMBER
|
EHLO %TESTNUMBER
|
||||||
MAIL FROM:<sender@example.com>
|
MAIL FROM:<sender@example.com>
|
||||||
RCPT TO:<recipient@example.com>
|
RCPT TO:<recipient@example.com>
|
||||||
DATA
|
DATA
|
||||||
</protocol>
|
</protocol>
|
||||||
<upload nonewline="yes">
|
|
||||||
Content-Type: multipart/mixed; boundary=----------------------------
|
|
||||||
Mime-Version: 1.0
|
|
||||||
From: different
|
|
||||||
To: another
|
|
||||||
|
|
||||||
------------------------------
|
|
||||||
Content-Transfer-Encoding: 7bit
|
|
||||||
|
|
||||||
This is valid
|
|
||||||
------------------------------
|
|
||||||
Content-Disposition: attachment; filename="test%TESTNUMBER.txt"
|
|
||||||
Content-Transfer-Encoding: 7bit
|
|
||||||
|
|
||||||
This is an attached file (in french: pi
|
|
||||||
</upload>
|
|
||||||
<errorcode>
|
<errorcode>
|
||||||
26
|
26
|
||||||
</errorcode>
|
</errorcode>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user