summaryrefslogtreecommitdiff
path: root/tests/data/test1238
Commit message (Collapse)AuthorAgeFilesLines
* tests: add timeout, SLOWDOWN and DELAY keywords to testsDan Fandrich2023-03-101-0/+3
| | | | These are tests that are testing timing and end up being quite slow.
* tests 1117,1238,1523: adjust writedelay servercmdsFabian Keil2022-05-111-1/+1
| | | | | ... so the delays are the same now that the unit is in milliseconds.
* tests: adjust the tftpd output to work with hyper modeDaniel Stenberg2021-09-011-6/+6
| | | | | | | | | | By making them look less like http headers, the hyper mode "tweak" doesn't interfere. Enable test 2002 and 2003 in hyper builds (and 1280 which is unrelated but should be enabled). Closes #7658
* tests: use %TESTNUMBER instead of fixed numberDaniel Stenberg2021-03-191-2/+2
| | | | | | | This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
* all: fix codespell errorsViktor Szakats2020-05-251-1/+1
| | | | | | Reviewed-by: Jay Satiro Reviewed-by: Daniel Stenberg Closes https://github.com/curl/curl/pull/5452
* test1238: avoid tftpd being busy for tests shortly followingMarc Hoersken2020-05-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | The tftpd server may still be busy if the total timeout of 25 seconds has not been reached or no sread error was received during or after the execution of the timeout test 1238. Once the next TFTP test comes around (eg. 1242 or 1243), those will fail because the tftpd server is still waiting on data from curl due to the UDP protocol being stateless and having no connection close. On Linux this error may not happen, because ICMP errors generated due to a swrite error can also be returned async on the next sread call instead. Therefore we will now just kill the tftpd server after test 1238 to make sure that the following tests are not affected. This enables us to no longer ignore tests 1242, 1243, 2002 and 2003 on the CI platforms CirrusCI and AppVeyor. Assisted-by: Peter Wu Closes #5364
* Curl_expire_latest: ignore already expired timersDaniel Stenberg2017-04-111-1/+1
| | | | | | | | | If the existing timer is still in there but has expired, the new timer should be added. Reported-by: Rainer Canavan Bug: https://curl.haxx.se/mail/lib-2017-04/0030.html Closes #1407
* tftp tests: verify sent options tooDaniel Stenberg2015-11-061-1/+4
| | | | | | | The tftpd test server now logs all received options and thus all TFTP test cases need to match them exactly. Extended test 283 to use and verify --tftp-blksize.
* TFTP: make the CURLOPT_LOW_SPEED* options workDaniel Stenberg2013-08-221-0/+49
... this also makes sure that the progess callback gets called more often during TFTP transfers. Added test 1238 to verify. Bug: http://curl.haxx.se/bug/view.cgi?id=1269 Reported-by: Jo3