xref: /aosp_15_r20/external/curl/tests/data/test2004 (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 WorkerFILE
7*6236dae4SAndroid Build Coastguard WorkerSFTP
8*6236dae4SAndroid Build Coastguard WorkerSCP
9*6236dae4SAndroid Build Coastguard Workermultiprotocol
10*6236dae4SAndroid Build Coastguard Worker</keywords>
11*6236dae4SAndroid Build Coastguard Worker</info>
12*6236dae4SAndroid Build Coastguard Worker
13*6236dae4SAndroid Build Coastguard Worker#
14*6236dae4SAndroid Build Coastguard Worker# Server-side
15*6236dae4SAndroid Build Coastguard Worker<reply>
16*6236dae4SAndroid Build Coastguard Worker<data nocheck="yes">
17*6236dae4SAndroid Build Coastguard WorkerTest data file
18*6236dae4SAndroid Build Coastguard Workerfor tftp test
19*6236dae4SAndroid Build Coastguard Worker</data>
20*6236dae4SAndroid Build Coastguard Worker</reply>
21*6236dae4SAndroid Build Coastguard Worker
22*6236dae4SAndroid Build Coastguard Worker#
23*6236dae4SAndroid Build Coastguard Worker# Client-side
24*6236dae4SAndroid Build Coastguard Worker<client>
25*6236dae4SAndroid Build Coastguard Worker<server>
26*6236dae4SAndroid Build Coastguard Workertftp
27*6236dae4SAndroid Build Coastguard Workersftp
28*6236dae4SAndroid Build Coastguard Worker</server>
29*6236dae4SAndroid Build Coastguard Worker<name>
30*6236dae4SAndroid Build Coastguard WorkerTFTP RRQ followed by SFTP retrieval followed by FILE followed by SCP retrieval then again in reverse order
31*6236dae4SAndroid Build Coastguard Worker</name>
32*6236dae4SAndroid Build Coastguard Worker<command option="no-include">
33*6236dae4SAndroid Build Coastguard Worker--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.txt file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.txt file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --insecure
34*6236dae4SAndroid Build Coastguard Worker</command>
35*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/test%TESTNUMBER.txt">
36*6236dae4SAndroid Build Coastguard WorkerThis is test data
37*6236dae4SAndroid Build Coastguard Workerfor several protocols
38*6236dae4SAndroid Build Coastguard Worker</file>
39*6236dae4SAndroid Build Coastguard Worker</client>
40*6236dae4SAndroid Build Coastguard Worker
41*6236dae4SAndroid Build Coastguard Worker#
42*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
43*6236dae4SAndroid Build Coastguard Worker<verify>
44*6236dae4SAndroid Build Coastguard Worker<strip>
45*6236dae4SAndroid Build Coastguard Worker^timeout = [5-6]$
46*6236dae4SAndroid Build Coastguard Worker</strip>
47*6236dae4SAndroid Build Coastguard Worker<protocol>
48*6236dae4SAndroid Build Coastguard Workeropcode = 1
49*6236dae4SAndroid Build Coastguard Workermode = octet
50*6236dae4SAndroid Build Coastguard Workertsize = 0
51*6236dae4SAndroid Build Coastguard Workerblksize = 512
52*6236dae4SAndroid Build Coastguard Workerfilename = /%TESTNUMBER
53*6236dae4SAndroid Build Coastguard Workeropcode = 1
54*6236dae4SAndroid Build Coastguard Workermode = octet
55*6236dae4SAndroid Build Coastguard Workertsize = 0
56*6236dae4SAndroid Build Coastguard Workerblksize = 512
57*6236dae4SAndroid Build Coastguard Workerfilename = /%TESTNUMBER
58*6236dae4SAndroid Build Coastguard Worker</protocol>
59*6236dae4SAndroid Build Coastguard Worker<stdout>
60*6236dae4SAndroid Build Coastguard WorkerTest data file
61*6236dae4SAndroid Build Coastguard Workerfor tftp test
62*6236dae4SAndroid Build Coastguard WorkerThis is test data
63*6236dae4SAndroid Build Coastguard Workerfor several protocols
64*6236dae4SAndroid Build Coastguard WorkerThis is test data
65*6236dae4SAndroid Build Coastguard Workerfor several protocols
66*6236dae4SAndroid Build Coastguard WorkerThis is test data
67*6236dae4SAndroid Build Coastguard Workerfor several protocols
68*6236dae4SAndroid Build Coastguard WorkerThis is test data
69*6236dae4SAndroid Build Coastguard Workerfor several protocols
70*6236dae4SAndroid Build Coastguard WorkerThis is test data
71*6236dae4SAndroid Build Coastguard Workerfor several protocols
72*6236dae4SAndroid Build Coastguard WorkerTest data file
73*6236dae4SAndroid Build Coastguard Workerfor tftp test
74*6236dae4SAndroid Build Coastguard Worker</stdout>
75*6236dae4SAndroid Build Coastguard Worker</verify>
76*6236dae4SAndroid Build Coastguard Worker</testcase>
77