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)
commit2f14d7c9bca5e170b8d2c169801cb200021fd467
tree742339b04be0fa2067cd7213c5ae24cdc4e7d75e
parent74d42644e6e52808037975e909aa56c850838b76
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.
source/Makefile.in
source/utils/locktest.c [new file with mode: 0644]