Problem with cond_put_corrupt_token test
Joe Orton
joe at manyfish.co.uk
Sat Nov 8 13:23:22 EST 2008
Hi Tobias,
On Sat, Nov 08, 2008 at 06:25:26PM +0100, Tobias Schlitt wrote:
> I examined the If header, which looks like this:
>
> If: (<opaquelocktoken:bed586e3-1876-3f16-b0c9-bccbd0c53947x>) (Not
> <DAV:no-lock>)
>
> The first condition is the correct lock token, appended by an 'x' and
> therefore a broken lock token. However, the second condition is negated,
> therefore the condition list is overall evaluated to TRUE.
I think you have this part wrong - it's a logical AND not a logical OR:
http://tools.ietf.org/html/rfc4918#section-10.4.3 para 2:
Each List production describes a series of conditions. The whole
list evaluates to true if and only if each condition evaluates to
true (that is, the list represents a logical conjunction of
Conditions).
Regards, Joe
More information about the litmus
mailing list