]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test649: improve robustness
authorStefan Eissing <stefan@eissing.org>
Tue, 13 Aug 2024 08:53:24 +0000 (10:53 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 14 Aug 2024 09:50:02 +0000 (11:50 +0200)
Remove check of upload data before the error is triggered as this
may vary with network conditions.

Closes #14526

tests/data/test649

index 7751e38f1673867b1100a0d019b8a223f71d5068..502e16ea5698d680951de2c46c79961e4e2dfec4 100644 (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\r
 MAIL FROM:<sender@example.com>\r
 RCPT TO:<recipient@example.com>\r
 DATA\r
 </protocol>
-<upload nonewline="yes">
-Content-Type: multipart/mixed; boundary=----------------------------\r
-Mime-Version: 1.0\r
-From: different\r
-To: another\r
-\r
-------------------------------\r
-Content-Transfer-Encoding: 7bit\r
-\r
-This is valid\r
-------------------------------\r
-Content-Disposition: attachment; filename="test%TESTNUMBER.txt"\r
-Content-Transfer-Encoding: 7bit\r
-\r
-This is an attached file (in french: pi
-</upload>
 <errorcode>
 26
 </errorcode>