1<testcase> 2<info> 3<keywords> 4SFTP 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> 18sftp 19</server> 20<precheck> 21perl %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir 22</precheck> 23<name> 24SFTP with --remote-time 25</name> 26<command> 27--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/rofile.txt --insecure --remote-time 28</command> 29<postcheck> 30perl %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir && \ 31perl -e 'exit((stat("%LOGDIR/curl%TESTNUMBER.out"))[9] != 978264000)' 32</postcheck> 33</client> 34 35# 36# Verify data after the test has been "shot" 37<verify> 38<valgrind> 39disable 40</valgrind> 41</verify> 42</testcase> 43