1 <testcase> 2 <info> 3 <keywords> 4 SFTP 5 --remote-time 6 </keywords> 7 </info> 8 9 # 10 # Server-side 11 <reply> 12 </reply> 13 14 # 15 # Client-side 16 <client> 17 <server> 18 sftp 19 </server> 20 <precheck> 21 perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test1446.dir 22 </precheck> 23 <name> 24 SFTP with --remote-time 25 </name> 26 <command> 27 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%POSIX_PWD/log/test1446.dir/rofile.txt --insecure --remote-time 28 </command> 29 <postcheck> 30 perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test1446.dir && \ 31 perl -e 'exit((stat("log/curl1446.out"))[9] != 978264000)' 32 </postcheck> 33 </client> 34 35 # 36 # Verify data after the test has been "shot" 37 <verify> 38 <valgrind> 39 disable 40 </valgrind> 41 </verify> 42 </testcase> 43