113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciSFTP
513498266Sopenharmony_ci--remote-time
613498266Sopenharmony_ci</keywords>
713498266Sopenharmony_ci</info>
813498266Sopenharmony_ci
913498266Sopenharmony_ci#
1013498266Sopenharmony_ci# Server-side
1113498266Sopenharmony_ci<reply>
1213498266Sopenharmony_ci</reply>
1313498266Sopenharmony_ci
1413498266Sopenharmony_ci#
1513498266Sopenharmony_ci# Client-side
1613498266Sopenharmony_ci<client>
1713498266Sopenharmony_ci<server>
1813498266Sopenharmony_cisftp
1913498266Sopenharmony_ci</server>
2013498266Sopenharmony_ci<precheck>
2113498266Sopenharmony_ciperl %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir
2213498266Sopenharmony_ci</precheck>
2313498266Sopenharmony_ci<name>
2413498266Sopenharmony_ciSFTP with --remote-time
2513498266Sopenharmony_ci</name>
2613498266Sopenharmony_ci<command>
2713498266Sopenharmony_ci--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
2813498266Sopenharmony_ci</command>
2913498266Sopenharmony_ci<postcheck>
3013498266Sopenharmony_ciperl %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir && \
3113498266Sopenharmony_ciperl -e 'exit((stat("%LOGDIR/curl%TESTNUMBER.out"))[9] != 978264000)'
3213498266Sopenharmony_ci</postcheck>
3313498266Sopenharmony_ci</client>
3413498266Sopenharmony_ci
3513498266Sopenharmony_ci#
3613498266Sopenharmony_ci# Verify data after the test has been "shot"
3713498266Sopenharmony_ci<verify>
3813498266Sopenharmony_ci<valgrind>
3913498266Sopenharmony_cidisable
4013498266Sopenharmony_ci</valgrind>
4113498266Sopenharmony_ci</verify>
4213498266Sopenharmony_ci</testcase>
43