xref: /curl/tests/data/test1007 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4TFTP
5TFTP WRQ
6FAILURE
7</keywords>
8</info>
9
10#
11# Client-side
12<client>
13<server>
14tftp
15</server>
16<name>
17TFTP send with invalid permission on server
18</name>
19<command>
20-T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//invalid-file -sS
21</command>
22<file name="%LOGDIR/test%TESTNUMBER.txt">
23This data will not be sent
24</file>
25</client>
26
27#
28# Verify pseudo protocol after the test has been "shot"
29<verify>
30<errorcode>
3169
32</errorcode>
33<strip>
34^timeout = [5-6]$
35</strip>
36<protocol>
37opcode = 2
38mode = octet
39tsize = 27
40blksize = 512
41filename = /invalid-file
42</protocol>
43<stderr mode="text">
44curl: (69) TFTP: Access Violation
45</stderr>
46</verify>
47</testcase>
48