xref: /curl/tests/data/test1445 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4FILE
5--remote-time
6</keywords>
7</info>
8
9<reply>
10</reply>
11
12# Client-side
13<client>
14<server>
15file
16</server>
17<precheck>
18perl %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir
19</precheck>
20<name>
21file:// with --remote-time
22</name>
23<command>
24file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.dir/plainfile.txt --remote-time
25</command>
26<postcheck>
27perl %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir && \
28perl -e 'exit((stat("%LOGDIR/curl%TESTNUMBER.out"))[9] != 946728000)'
29</postcheck>
30</client>
31
32# Verify data after the test has been "shot"
33<verify>
34</verify>
35</testcase>
36