xref: /aosp_15_r20/external/curl/tests/data/test284 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerTFTP
5*6236dae4SAndroid Build Coastguard WorkerTFTP RRQ
6*6236dae4SAndroid Build Coastguard Worker</keywords>
7*6236dae4SAndroid Build Coastguard Worker</info>
8*6236dae4SAndroid Build Coastguard Worker
9*6236dae4SAndroid Build Coastguard Worker#
10*6236dae4SAndroid Build Coastguard Worker# Server-side
11*6236dae4SAndroid Build Coastguard Worker<reply>
12*6236dae4SAndroid Build Coastguard Worker<data>
13*6236dae4SAndroid Build Coastguard WorkerA chunk of data which exactly fits into
14*6236dae4SAndroid Build Coastguard Workera 512 byte TFTP block, testing a boundary
15*6236dae4SAndroid Build Coastguard Workercondition in the TFTP receive code.
16*6236dae4SAndroid Build Coastguard Worker789ABCDEF
17*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
18*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
19*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
20*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
21*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
22*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
23*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
24*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
25*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
26*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
27*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
28*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
29*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
30*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
31*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
32*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
33*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
34*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
35*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
36*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
37*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
38*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
39*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
40*6236dae4SAndroid Build Coastguard Worker123456789ABCDEF
41*6236dae4SAndroid Build Coastguard Worker</data>
42*6236dae4SAndroid Build Coastguard Worker</reply>
43*6236dae4SAndroid Build Coastguard Worker
44*6236dae4SAndroid Build Coastguard Worker#
45*6236dae4SAndroid Build Coastguard Worker# Client-side
46*6236dae4SAndroid Build Coastguard Worker<client>
47*6236dae4SAndroid Build Coastguard Worker<server>
48*6236dae4SAndroid Build Coastguard Workertftp
49*6236dae4SAndroid Build Coastguard Worker</server>
50*6236dae4SAndroid Build Coastguard Worker<name>
51*6236dae4SAndroid Build Coastguard WorkerTFTP retrieve of boundary case 512 byte file
52*6236dae4SAndroid Build Coastguard Worker</name>
53*6236dae4SAndroid Build Coastguard Worker<command>
54*6236dae4SAndroid Build Coastguard Workertftp://%HOSTIP:%TFTPPORT//%TESTNUMBER
55*6236dae4SAndroid Build Coastguard Worker</command>
56*6236dae4SAndroid Build Coastguard Worker</client>
57*6236dae4SAndroid Build Coastguard Worker
58*6236dae4SAndroid Build Coastguard Worker#
59*6236dae4SAndroid Build Coastguard Worker# Verify pseudo protocol after the test has been "shot"
60*6236dae4SAndroid Build Coastguard Worker<verify>
61*6236dae4SAndroid Build Coastguard Worker<strip>
62*6236dae4SAndroid Build Coastguard Worker^timeout = [5-6]$
63*6236dae4SAndroid Build Coastguard Worker</strip>
64*6236dae4SAndroid Build Coastguard Worker<protocol>
65*6236dae4SAndroid Build Coastguard Workeropcode = 1
66*6236dae4SAndroid Build Coastguard Workermode = octet
67*6236dae4SAndroid Build Coastguard Workertsize = 0
68*6236dae4SAndroid Build Coastguard Workerblksize = 512
69*6236dae4SAndroid Build Coastguard Workerfilename = /%TESTNUMBER
70*6236dae4SAndroid Build Coastguard Worker</protocol>
71*6236dae4SAndroid Build Coastguard Worker</verify>
72*6236dae4SAndroid Build Coastguard Worker</testcase>
73