113498266Sopenharmony_ci<testcase> 213498266Sopenharmony_ci<info> 313498266Sopenharmony_ci<keywords> 413498266Sopenharmony_ciTFTP 513498266Sopenharmony_ciTFTP RRQ 613498266Sopenharmony_citimeout 713498266Sopenharmony_ciFAILURE 813498266Sopenharmony_ciDELAY 913498266Sopenharmony_ci</keywords> 1013498266Sopenharmony_ci</info> 1113498266Sopenharmony_ci 1213498266Sopenharmony_ci# 1313498266Sopenharmony_ci# Server-side 1413498266Sopenharmony_ci<reply> 1513498266Sopenharmony_ci<servercmd> 1613498266Sopenharmony_ciwritedelay: 2000 1713498266Sopenharmony_ci</servercmd> 1813498266Sopenharmony_ci# ~1200 bytes (so that they don't fit in two 512 byte chunks) 1913498266Sopenharmony_ci<data nocheck="yes"> 2013498266Sopenharmony_ci012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 2113498266Sopenharmony_ci</data> 2213498266Sopenharmony_ci</reply> 2313498266Sopenharmony_ci 2413498266Sopenharmony_ci# 2513498266Sopenharmony_ci# Client-side 2613498266Sopenharmony_ci<client> 2713498266Sopenharmony_ci<server> 2813498266Sopenharmony_citftp 2913498266Sopenharmony_ci</server> 3013498266Sopenharmony_ci# Always kill the TFTP server to not affect following tests, due 3113498266Sopenharmony_ci# to this test potentially keeping the TFTP server busy waiting 3213498266Sopenharmony_ci# for another 5 seconds after this test has already terminated. 3313498266Sopenharmony_ci# On some platforms and CI not enough time passes between this 3413498266Sopenharmony_ci# test and the next tests 1242 and 1243, causing them to fail. 3513498266Sopenharmony_ci<killserver> 3613498266Sopenharmony_citftp 3713498266Sopenharmony_ci</killserver> 3813498266Sopenharmony_ci<name> 3913498266Sopenharmony_cislow TFTP retrieve cancel due to -Y and -y 4013498266Sopenharmony_ci</name> 4113498266Sopenharmony_ci# if less than 1000 bytes/sec within 2 seconds, abort! 4213498266Sopenharmony_ci<command> 4313498266Sopenharmony_citftp://%HOSTIP:%TFTPPORT//%TESTNUMBER -Y1000 -y2 4413498266Sopenharmony_ci</command> 4513498266Sopenharmony_ci</client> 4613498266Sopenharmony_ci 4713498266Sopenharmony_ci# 4813498266Sopenharmony_ci# Verify pseudo protocol after the test has been "shot" 4913498266Sopenharmony_ci<verify> 5013498266Sopenharmony_ci<strip> 5113498266Sopenharmony_ci^timeout = [5-6]$ 5213498266Sopenharmony_ci</strip> 5313498266Sopenharmony_ci<protocol> 5413498266Sopenharmony_ciopcode = 1 5513498266Sopenharmony_cimode = octet 5613498266Sopenharmony_citsize = 0 5713498266Sopenharmony_ciblksize = 512 5813498266Sopenharmony_cifilename = /%TESTNUMBER 5913498266Sopenharmony_ci</protocol> 6013498266Sopenharmony_ci# 28 = CURLE_OPERATION_TIMEDOUT 6113498266Sopenharmony_ci<errorcode> 6213498266Sopenharmony_ci28 6313498266Sopenharmony_ci</errorcode> 6413498266Sopenharmony_ci</verify> 6513498266Sopenharmony_ci</testcase> 66