]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test587: improve robustness
authorStefan Eissing <stefan@eissing.org>
Tue, 13 Aug 2024 08:39:48 +0000 (10:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 14 Aug 2024 09:49:05 +0000 (11:49 +0200)
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

index 541df4546a558c116ee46feedce7f1110663bb56..c896a5b6bfdb05b89c153ca396e39607d55af319 100644 (file)
@@ -41,21 +41,6 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER
 #
 # Verify data after the test has been "shot"
 <verify>
-<strippart>
-s/^--------------------------[A-Za-z0-9]*/------------------------------/
-s/boundary=------------------------[A-Za-z0-9]*/boundary=----------------------------/
-</strippart>
-<protocol>
-POST /%TESTNUMBER HTTP/1.1\r
-Host: %HOSTIP:%HTTPPORT\r
-Accept: */*\r
-Content-Length: 780\r
-Content-Type: multipart/form-data; boundary=----------------------------\r
-\r
-------------------------------\r
-Content-Disposition: form-data; name="sendfile"; filename="postit2.c"\r
-\r
-</protocol>
 # CURLE_ABORTED_BY_CALLBACK (42)
 <errorcode>
 42