added a nasty lock testing program
authorAndrew Tridgell <tridge@samba.org>
Wed, 3 May 2000 13:54:28 +0000 (13:54 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 3 May 2000 13:54:28 +0000 (13:54 +0000)
commit1d3d724dd1f1f6c8b329c49cc2d49e2e99499821
treeca7901f2c999df430089ba8a66ec17c2908400e6
parent20ce61ccc88dd3868176932736e03e4d85f1bfd0
added a nasty lock testing program

it opens 2 connections to each of 2 servers, and opens 2 fnums on the
same file on each connection (a total of 8 file descriptors)

then it does random lock/unlock/reopen requests in a 100 byte range on
the file and compares the results from the 2 servers.

strangely enough, NT fails this test against itself right now - I'm
still trying to figure that out.
(This used to be commit 2f14d7c9bca5e170b8d2c169801cb200021fd467)
source3/Makefile.in
source3/utils/locktest.c [new file with mode: 0644]