s3: Add a test for proper brlock cleanup
authorVolker Lendecke <vl@samba.org>
Thu, 5 Jan 2012 16:44:44 +0000 (17:44 +0100)
committerVolker Lendecke <vlendec@samba.org>
Thu, 5 Jan 2012 19:29:59 +0000 (20:29 +0100)
commitf97216eb4ae1052e435d83ce51a7067fa6697ff4
tree9f6d5d7740271aa00a4db4c32180d68be37a26d7
parent515dfe6c7ff9f6aed94a51960bb26aabb6fb449b
s3: Add a test for proper brlock cleanup

We need to improve the server here.

Maybe we should validate the brlock entry whenever we detect a read/write being
blocked from locking? This is not our hot code path anyway, and it would gain
us significant robustness. The code might become quite a bit simpler as well.
source3/torture/proto.h
source3/torture/test_cleanup.c
source3/torture/torture.c