xref: /curl/tests/data/test284 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4TFTP
5TFTP RRQ
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<data>
13A chunk of data which exactly fits into
14a 512 byte TFTP block, testing a boundary
15condition in the TFTP receive code.
16789ABCDEF
17123456789ABCDEF
18123456789ABCDEF
19123456789ABCDEF
20123456789ABCDEF
21123456789ABCDEF
22123456789ABCDEF
23123456789ABCDEF
24123456789ABCDEF
25123456789ABCDEF
26123456789ABCDEF
27123456789ABCDEF
28123456789ABCDEF
29123456789ABCDEF
30123456789ABCDEF
31123456789ABCDEF
32123456789ABCDEF
33123456789ABCDEF
34123456789ABCDEF
35123456789ABCDEF
36123456789ABCDEF
37123456789ABCDEF
38123456789ABCDEF
39123456789ABCDEF
40123456789ABCDEF
41</data>
42</reply>
43
44#
45# Client-side
46<client>
47<server>
48tftp
49</server>
50<name>
51TFTP retrieve of boundary case 512 byte file
52</name>
53<command>
54tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER
55</command>
56</client>
57
58#
59# Verify pseudo protocol after the test has been "shot"
60<verify>
61<strip>
62^timeout = [5-6]$
63</strip>
64<protocol>
65opcode = 1
66mode = octet
67tsize = 0
68blksize = 512
69filename = /%TESTNUMBER
70</protocol>
71</verify>
72</testcase>
73