s4 torture: Convert an error to a warning in RAW-OPLOCK-BATCH22
authorTim Prouty <tprouty@samba.org>
Thu, 3 Dec 2009 02:39:05 +0000 (18:39 -0800)
committerTim Prouty <tprouty@samba.org>
Fri, 4 Dec 2009 02:54:52 +0000 (18:54 -0800)
commit522d6bc58891b8c25e935bcee3206f03c8ab73cb
treec81f1faabb3787c7d875925916bd234b6e349881
parentb14da4f7c54e88e615f2bb19bec43bacb7f11de8
s4 torture: Convert an error to a warning in RAW-OPLOCK-BATCH22

Some servers choose to mark a client as bad if they fail an oplock
break request by timing out (win7 is an example).  Once the client is
marked as bad, future oplock requests will timeout instantly.  This
causes subsequent runs of this test to fail, so rather than erroring
out as a failure, a warning is printed instead.

There is also a bug in w2k3 where it was incorrectly returning
contending a share mode lock.  It worked in XP and has been re-fixed
in win7.

This can also now be run against samba3.
source4/torture/raw/oplock.c