From e434cdb83648e5624a49d7c07f2f63969931e1ad Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Tue, 13 Aug 2024 10:39:48 +0200 Subject: [PATCH] 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 --- tests/data/test587 | 15 --------------- 1 file changed, 15 deletions(-) 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