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