summaryrefslogtreecommitdiff
path: root/lib/ldb/tests
AgeCommit message (Collapse)AuthorFilesLines
2012-07-06pyldb: Add bindings for ldb_dn_remove_base_componentsAndrew Bartlett1-0/+5
2012-07-06pyldb: Fix dn concat operation to be the other way aroundAndrew Bartlett1-1/+1
This now concatonates Dn(ldb, "cn=config") + Dn(ldb, "dc=samba,dc=org") as "cn=config,dc=samba,dc=org" Andrew Bartlett
2012-06-12ldb:tests: fix use of a non-existent word (existant)Michael Adam1-1/+1
2012-04-10ldb-tools: Place the whole of an ldif file in a transactionAndrew Bartlett5-0/+62
This ensures that when operating ldbadd and ldbmodify against local ldb files, either an ldif file succeeds or fails as a whole. Also tests to verify that this is working correctly, and an ABI bump due to the extra (private, but exported to ldb* tools) symbol and behaviour change. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 10 11:14:43 CEST 2012 on sn-devel-104
2012-04-10ldb: Detect failures in ldb.base againAndrew Bartlett2-3/+14
We need to wrap the ldb tests in the subunit blackbox helpers. We also needed to change to the right directory, or else the :< file:// syntax check does not work, as samba4.png is not found. Andrew Bartlett
2012-02-01selftest: Remove unused support for --exeextAndrew Bartlett4-58/+58
2011-11-10ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest ratherJelmer Vernooij1-33/+37
than samba.tests.
2011-11-10Revert "pyldb: fixed ldb API test"Jelmer Vernooij1-36/+39
This reverts commit 333248f08c83cc5b18f8e7e84cb19d79a8309d6e. This commit made the pyldb tests depend on the Samba testsuite.
2011-11-10pyldb: fixed ldb API testAndrew Tridgell1-39/+36
it was failing previously, but the failure wasn't being noticed
2011-07-29pyldb: added binary_encode() and binary_decode() methodsAndrew Tridgell1-0/+4
this gives access to RFC2254 encoding from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-29ldb: added a test for an invalid search expressionAndrew Tridgell1-0/+3
this tests the fix for invalid expressions in & and | expressions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-21pyldb: use dn.is_child_of() instead of dn.compare_base()Andrew Tridgell1-5/+6
the compare_base() C API doesn't really fit well in python, as it returns 0 for true. Better to have a boolean function for the python interface. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-21pyldb: add unit test for ldbDn.compare_baseMatthieu Patou1-0/+11
2011-07-05ldb: make ldb a top level library for Samba 4.0Andrew Bartlett37-0/+2310
Signed-off-by: Andrew Tridgell <tridge@samba.org>