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/log/test1446.dir
22</precheck>
23 <name>
24SFTP 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>
30perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test1446.dir && \
31perl -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>
39disable
40</valgrind>
41</verify>
42</testcase>
43