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 WorkerSFTP put 6*6236dae4SAndroid Build Coastguard WorkerFAILURE 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# Client-side 12*6236dae4SAndroid Build Coastguard Worker<client> 13*6236dae4SAndroid Build Coastguard Worker<server> 14*6236dae4SAndroid Build Coastguard Workersftp 15*6236dae4SAndroid Build Coastguard Worker</server> 16*6236dae4SAndroid Build Coastguard Worker<precheck> 17*6236dae4SAndroid Build Coastguard Worker%PERL %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir 18*6236dae4SAndroid Build Coastguard Worker</precheck> 19*6236dae4SAndroid Build Coastguard Worker<name> 20*6236dae4SAndroid Build Coastguard WorkerSFTP put remote failure 21*6236dae4SAndroid Build Coastguard Worker</name> 22*6236dae4SAndroid Build Coastguard Worker<command> 23*6236dae4SAndroid Build Coastguard Worker--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/rofile.txt --insecure 24*6236dae4SAndroid Build Coastguard Worker</command> 25*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/file%TESTNUMBER.txt"> 26*6236dae4SAndroid Build Coastguard WorkerTest data 27*6236dae4SAndroid Build Coastguard Workerfor ssh upload test 28*6236dae4SAndroid Build Coastguard Worker</file> 29*6236dae4SAndroid Build Coastguard Worker</client> 30*6236dae4SAndroid Build Coastguard Worker 31*6236dae4SAndroid Build Coastguard Worker# 32*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 33*6236dae4SAndroid Build Coastguard Worker<verify> 34*6236dae4SAndroid Build Coastguard Worker<errorcode> 35*6236dae4SAndroid Build Coastguard Worker9 36*6236dae4SAndroid Build Coastguard Worker</errorcode> 37*6236dae4SAndroid Build Coastguard Worker<postcheck> 38*6236dae4SAndroid Build Coastguard Worker%PERL %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir 39*6236dae4SAndroid Build Coastguard Worker</postcheck> 40*6236dae4SAndroid Build Coastguard Worker</verify> 41*6236dae4SAndroid Build Coastguard Worker</testcase> 42