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