• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4TFTP
5TFTP RRQ
6FILE
7SFTP
8SCP
9multiprotocol
10</keywords>
11</info>
12
13#
14# Server-side
15<reply>
16<data nocheck="yes">
17Test data file
18for tftp test
19</data>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26tftp
27sftp
28</server>
29 <name>
30TFTP RRQ followed by SFTP retrieval followed by FILE followed by SCP retrieval then again in reverse order
31 </name>
32 <command>
33--key curl_client_key --pubkey curl_client_key.pub -u %USER: tftp://%HOSTIP:%TFTPPORT//2004 sftp://%HOSTIP:%SSHPORT%PWD/log/test2004.txt file://localhost/%PWD/log/test2004.txt scp://%HOSTIP:%SSHPORT%PWD/log/test2004.txt file://localhost/%PWD/log/test2004.txt sftp://%HOSTIP:%SSHPORT%PWD/log/test2004.txt tftp://%HOSTIP:%TFTPPORT//2004 --insecure
34</command>
35<file name="log/test2004.txt">
36This is test data
37for several protocols
38</file>
39</client>
40
41#
42# Verify data after the test has been "shot"
43<verify>
44<protocol>
45opcode: 1
46mode: octet
47tsize: 0
48blksize: 512
49timeout: 6
50filename: /2004
51opcode: 1
52mode: octet
53tsize: 0
54blksize: 512
55timeout: 6
56filename: /2004
57</protocol>
58<stdout>
59Test data file
60for tftp test
61This is test data
62for several protocols
63This is test data
64for several protocols
65This is test data
66for several protocols
67This is test data
68for several protocols
69This is test data
70for several protocols
71Test data file
72for tftp test
73</stdout>
74<valgrind>
75disable
76</valgrind>
77</verify>
78</testcase>
79