r17661: A patch from Martin Kuehl:
commit1ddd06f24d71c606241863cf4fe047833c64a6d2
authorAndrew Bartlett <abartlet@samba.org>
Mon, 21 Aug 2006 10:45:58 +0000 (21 10:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:16:21 +0000 (10 14:16 -0500)
tree272e4bb3d1fd93ccf8b29a22a28df0d8d44f8f50
parent28238ad8f15b8bd3c49fb0b235becca25615cfe6
r17661: A patch from Martin Kuehl:

This commit extends the samba3sam test suite, which contains tests for
the samba3sam and ldb_map modules, with a lot of tests for inbound,
i.e. add, modify, rename and delete requests.

The tests each add a single record, modify it, rename it, and then
delete it, at each step checking that the operations were successful
and that the right data went into the right partitions.
They are run for an unmapped record, a mapped record with data only in
the remote partition, a mapped record with remote data that is later
modified to include local data, and a mapped record with data in both
the local and remote partitions.

It also adds a function to the backend objects that makes construction
of DNs for their respective partitions more comfortable.

Cheers,
Martin
testprogs/ejs/samba3sam.js