From 584142892f7d5fb3100f3c0ef8e479d472b8c3c7 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 29 Apr 2017 10:16:06 +0200 Subject: tests: added --remote-time tests for remaining protocols that support it --- tests/libtest/test613.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/libtest') 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"; -- cgit v1.2.3