mirror of
https://github.com/curl/curl.git
synced 2026-06-18 20:15:37 +03:00
- `N byte` -> `N-byte` or `N bytes`. - INTERNALS.md: language tweaks. - schannel: language tweak in comment/error message. - socks_gssapi, socks_sspi: simplify composing an error message. (at a cost of 8 extra constant string bytes.) - m4/curl-compilers.m4: fix typo in link (in comment). - contrithanks.sh: fix indent, drop stray `;` terminator. - lib, src, tests: drop/fix a bunch of badwords. - fix typos in comments. - fix indent, stray spaces. Some of these spotted by GitHub Code Quality and Copilot Closes #22009
62 lines
2.3 KiB
XML
62 lines
2.3 KiB
XML
<?xml version="1.0" encoding="US-ASCII"?>
|
|
<testcase>
|
|
<info>
|
|
<keywords>
|
|
TFTP
|
|
TFTP RRQ
|
|
timeout
|
|
DELAY
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<servercmd>
|
|
writedelay: 2000
|
|
</servercmd>
|
|
# ~1200 bytes (so that they do not fit in two 512-byte chunks)
|
|
<data nocheck="yes">
|
|
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
tftp
|
|
</server>
|
|
# Always kill the TFTP server to not affect following tests, due
|
|
# to this test potentially keeping the TFTP server busy waiting
|
|
# for another 5 seconds after this test has already terminated.
|
|
# On some platforms and CI not enough time passes between this
|
|
# test and the next tests 1242 and 1243, causing them to fail.
|
|
<killserver>
|
|
tftp
|
|
</killserver>
|
|
<name>
|
|
slow TFTP retrieve cancel due to -Y and -y
|
|
</name>
|
|
# if less than 1000 bytes/sec within 2 seconds, abort!
|
|
<command>
|
|
tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER -Y1000 -y2
|
|
</command>
|
|
</client>
|
|
|
|
# Verify pseudo protocol after the test has been "shot"
|
|
<verify>
|
|
<strip>
|
|
^timeout = [5-6]$
|
|
</strip>
|
|
<protocol>
|
|
opcode = 1
|
|
mode = octet
|
|
tsize = 0
|
|
blksize = 512
|
|
filename = /%TESTNUMBER
|
|
</protocol>
|
|
# 28 = CURLE_OPERATION_TIMEDOUT
|
|
<errorcode>
|
|
28
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|