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:
Stefan Eissing 2024-08-13 10:53:24 +02:00 committed by Daniel Stenberg
parent e434cdb836
commit 9222f31201
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -42,32 +42,12 @@ It contains at least an 8-bit byte value.
#
# Verify data after the test has been "shot"
<verify>
<strippart>
s/^--------------------------[A-Za-z0-9]*/------------------------------/
s/boundary=------------------------[A-Za-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
EHLO %TESTNUMBER
MAIL FROM:<sender@example.com>
RCPT TO:<recipient@example.com>
DATA
</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>
26
</errorcode>