s4/torture: add multiple lock cancel test
authorSteven Danneman <steven.danneman@isilon.com>
Thu, 26 Nov 2009 01:39:42 +0000 (17:39 -0800)
committerSteven Danneman <steven.danneman@isilon.com>
Thu, 3 Dec 2009 01:28:52 +0000 (17:28 -0800)
commit48358b3eaa425d8fbfec7bfd8ccf56860b5a1ba0
tree844b99d8d71868137de505a54d19598f527cacac
parentad9c5a7b881bd28f408a178766a00098bab19157
s4/torture: add multiple lock cancel test

See what happens when we have multiple outstanding lock requests and
we try to cancel both of them within a single LockingAndX.

On Windows, it seems only the first lock in the array is cancelled,
and the second is left pending.  Though, this behavior goes against
the MS-CIFS spec.
source4/torture/raw/lock.c