xref: /third_party/curl/tests/data/test1445 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciFILE
513498266Sopenharmony_ci--remote-time
613498266Sopenharmony_ci</keywords>
713498266Sopenharmony_ci</info>
813498266Sopenharmony_ci
913498266Sopenharmony_ci<reply>
1013498266Sopenharmony_ci</reply>
1113498266Sopenharmony_ci
1213498266Sopenharmony_ci# Client-side
1313498266Sopenharmony_ci<client>
1413498266Sopenharmony_ci<server>
1513498266Sopenharmony_cifile
1613498266Sopenharmony_ci</server>
1713498266Sopenharmony_ci<precheck>
1813498266Sopenharmony_ciperl %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir
1913498266Sopenharmony_ci</precheck>
2013498266Sopenharmony_ci<name>
2113498266Sopenharmony_cifile:// with --remote-time
2213498266Sopenharmony_ci</name>
2313498266Sopenharmony_ci<command>
2413498266Sopenharmony_cifile://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.dir/plainfile.txt --remote-time
2513498266Sopenharmony_ci</command>
2613498266Sopenharmony_ci<postcheck>
2713498266Sopenharmony_ciperl %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir && \
2813498266Sopenharmony_ciperl -e 'exit((stat("%LOGDIR/curl%TESTNUMBER.out"))[9] != 946728000)'
2913498266Sopenharmony_ci</postcheck>
3013498266Sopenharmony_ci</client>
3113498266Sopenharmony_ci
3213498266Sopenharmony_ci# Verify data after the test has been "shot"
3313498266Sopenharmony_ci<verify>
3413498266Sopenharmony_ci</verify>
3513498266Sopenharmony_ci</testcase>
36