xref: /aosp_15_r20/external/curl/tests/data/test614 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerSFTP
5*6236dae4SAndroid Build Coastguard Workerpre-quote
6*6236dae4SAndroid Build Coastguard Workerdirectory
7*6236dae4SAndroid Build Coastguard Worker</keywords>
8*6236dae4SAndroid Build Coastguard Worker</info>
9*6236dae4SAndroid Build Coastguard Worker
10*6236dae4SAndroid Build Coastguard Worker#
11*6236dae4SAndroid Build Coastguard Worker# Server-side
12*6236dae4SAndroid Build Coastguard Worker<reply>
13*6236dae4SAndroid Build Coastguard Worker<datacheck>
14*6236dae4SAndroid Build Coastguard Workerd?????????    N U         U               N ???  N NN:NN asubdir
15*6236dae4SAndroid Build Coastguard Worker-r-?r-?r-?    1 U         U              37 Jan  1  2000 plainfile.txt
16*6236dae4SAndroid Build Coastguard Worker-r-?r-?r-?    1 U         U              47 Dec 31  2000 rofile.txt
17*6236dae4SAndroid Build Coastguard Worker</datacheck>
18*6236dae4SAndroid Build Coastguard Worker</reply>
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard Worker#
21*6236dae4SAndroid Build Coastguard Worker# Client-side
22*6236dae4SAndroid Build Coastguard Worker<client>
23*6236dae4SAndroid Build Coastguard Worker<server>
24*6236dae4SAndroid Build Coastguard Workersftp
25*6236dae4SAndroid Build Coastguard Worker</server>
26*6236dae4SAndroid Build Coastguard Worker<precheck>
27*6236dae4SAndroid Build Coastguard Worker%PERL %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir
28*6236dae4SAndroid Build Coastguard Worker</precheck>
29*6236dae4SAndroid Build Coastguard Worker<name>
30*6236dae4SAndroid Build Coastguard WorkerSFTP pre-quote chmod
31*6236dae4SAndroid Build Coastguard Worker</name>
32*6236dae4SAndroid Build Coastguard Worker<command>
33*6236dae4SAndroid Build Coastguard Worker--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -Q "chmod 444 %SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/plainfile.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/ --insecure
34*6236dae4SAndroid Build Coastguard Worker</command>
35*6236dae4SAndroid Build Coastguard Worker</client>
36*6236dae4SAndroid Build Coastguard Worker
37*6236dae4SAndroid Build Coastguard Worker#
38*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
39*6236dae4SAndroid Build Coastguard Worker<verify>
40*6236dae4SAndroid Build Coastguard Worker<postcheck>
41*6236dae4SAndroid Build Coastguard Worker%PERL %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir %PWD/%LOGDIR/curl%TESTNUMBER.out
42*6236dae4SAndroid Build Coastguard Worker</postcheck>
43*6236dae4SAndroid Build Coastguard Worker</verify>
44*6236dae4SAndroid Build Coastguard Worker</testcase>
45