From: Stefan Eissing Date: Tue, 13 Aug 2024 08:39:48 +0000 (+0200) Subject: test587: improve robustness X-Git-Tag: curl-8_10_0~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e434cdb83648e5624a49d7c07f2f63969931e1ad;p=thirdparty%2Fcurl.git test587: improve robustness Remove check of server output as upload may abort before request could fully be sent, so server output may be completely missing. Test already used a 1 second delay to mitigate timing. This change makes timing no longer an issue. Closes #14525 --- diff --git a/tests/data/test587 b/tests/data/test587 index 541df4546a..c896a5b6bf 100644 --- a/tests/data/test587 +++ b/tests/data/test587 @@ -41,21 +41,6 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER # # Verify data after the test has been "shot" - -s/^--------------------------[A-Za-z0-9]*/------------------------------/ -s/boundary=------------------------[A-Za-z0-9]*/boundary=----------------------------/ - - -POST /%TESTNUMBER HTTP/1.1 -Host: %HOSTIP:%HTTPPORT -Accept: */* -Content-Length: 780 -Content-Type: multipart/form-data; boundary=---------------------------- - ------------------------------- -Content-Disposition: form-data; name="sendfile"; filename="postit2.c" - - # CURLE_ABORTED_BY_CALLBACK (42) 42