test627 (721B)
1 <testcase> 2 <info> 3 <keywords> 4 SFTP 5 pre-quote 6 NOBODY 7 </keywords> 8 </info> 9 10 # 11 # Server-side 12 <reply> 13 <data sendzero="yes"> 14 </data> 15 </reply> 16 17 # 18 # Client-side 19 <client> 20 <server> 21 sftp 22 </server> 23 <name> 24 SFTP quote remove file with NOBODY 25 </name> 26 <command> 27 --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -I -Q "rm %SFTP_PWD/%LOGDIR/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT --insecure 28 </command> 29 <file name="%LOGDIR/file%TESTNUMBER.txt"> 30 Dummy test file for remove test 31 </file> 32 </client> 33 34 # 35 # Verify data after the test has been "shot" 36 <verify> 37 <protocol> 38 </protocol> 39 <postcheck> 40 %PERL %SRCDIR/libtest/test610.pl gone %PWD/%LOGDIR/test%TESTNUMBER.txt 41 </postcheck> 42 </verify> 43 </testcase>