summaryrefslogtreecommitdiff
path: root/tests/data/test1099
blob: f2fa2f28b19e490b7058122460c24a3608960f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<testcase>
<info>
<keywords>
TFTP
TFTP RRQ
FAILURE
</keywords>
</info>

<reply>
<data nocheck="yes">
data for %TESTNUMBER
</data>
</reply>

#
# Client-side
<client>
<server>
tftp
</server>
 <name>
TFTP get first a non-existing file then an existing
 </name>
 <command>
tftp://%HOSTIP:%TFTPPORT/an/invalid-file tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER
</command>
</client>

#
# Verify pseudo protocol after the test has been "shot"
<verify>
<protocol>
opcode: 1
mode: octet
tsize: 0
blksize: 512
timeout: 6
filename: an/invalid-file
opcode: 1
mode: octet
tsize: 0
blksize: 512
timeout: 6
filename: /%TESTNUMBER
</protocol>
<stdout>
data for %TESTNUMBER
</stdout>
</verify>
</testcase>