COPY-on-existing and MOVE-on-existing and Overwrite: F

Joe Orton joe at manyfish.co.uk
Tue Nov 18 05:48:08 EST 2008


On Tue, Nov 18, 2008 at 10:47:16AM +0100, Peter Makholm wrote:
> The condition seems to be reversed in both cases if STATUS(412) is the 
> right status code. In the move case the warning seems to be right even 
> though the test is wrong, even further confusing the subject.

The unintuitively-named STATUS(412) is non-zero if the status code from 
the last operation was *not* 412, so the code looks correct.

Nonetheless, I've changed it to FAIL if the status is not 412 in these 
cases, since it's a MUST requirement, and also to print the status line 
returned by the server.  Can you check debug.log to see what the actual 
response code was in your case?

Regards, Joe




More information about the litmus mailing list