diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2017-04-29 10:16:06 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2017-04-29 10:16:06 +0200 |
commit | 584142892f7d5fb3100f3c0ef8e479d472b8c3c7 (patch) | |
tree | 95162e0852a9c8e7cd62698960d09cdb5501a926 /tests/libtest | |
parent | 2ce86d8509fa49d371af60d26bd934f90b99aeff (diff) |
tests: added --remote-time tests for remaining protocols that support it
Diffstat (limited to 'tests/libtest')
-rwxr-xr-x | tests/libtest/test613.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libtest/test613.pl b/tests/libtest/test613.pl index b4caaae07..03d09cb5b 100755 --- a/tests/libtest/test613.pl +++ b/tests/libtest/test613.pl @@ -30,6 +30,8 @@ if ($ARGV[0] eq "prepare") binmode FILE; print FILE "Test file to support curl test suite\n"; close(FILE); + # The mtime is specifically chosen to be an even number so that it can be + # represented exactly on a FAT filesystem. utime time, timegm(0,0,12,1,0,100), "plainfile.txt"; chmod 0666, "plainfile.txt"; @@ -37,6 +39,8 @@ if ($ARGV[0] eq "prepare") binmode FILE; print FILE "Read-only test file to support curl test suite\n"; close(FILE); + # The mtime is specifically chosen to be an even number so that it can be + # represented exactly on a FAT filesystem. utime time, timegm(0,0,12,31,11,100), "rofile.txt"; chmod 0444, "rofile.txt"; |