summaryrefslogtreecommitdiffstats
path: root/lib/ldb/tests
Commit message (Collapse)AuthorAgeFilesLines
* ldb: Add more data test data for one level test casesMatthieu Patou2013-02-081-0/+14
| | | | | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Feb 8 06:46:40 CET 2013 on sn-devel-104
* ldb: Add tests for the python apiMatthieu Patou2013-02-081-0/+8
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ldb: Add more tests related to onelevel searchMatthieu Patou2013-02-082-0/+14
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ldb: make test output more readableMatthieu Patou2013-02-081-4/+2
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* LDB:ldbsearch - add search filter testsMatthias Dieter Wallnöfer2012-08-221-0/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* pyldb: Add bindings for ldb_dn_remove_base_componentsAndrew Bartlett2012-07-061-0/+5
|
* pyldb: Fix dn concat operation to be the other way aroundAndrew Bartlett2012-07-061-1/+1
| | | | | | This now concatonates Dn(ldb, "cn=config") + Dn(ldb, "dc=samba,dc=org") as "cn=config,dc=samba,dc=org" Andrew Bartlett
* ldb:tests: fix use of a non-existent word (existant)Michael Adam2012-06-121-1/+1
|
* ldb-tools: Place the whole of an ldif file in a transactionAndrew Bartlett2012-04-105-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
* ldb: Detect failures in ldb.base againAndrew Bartlett2012-04-102-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
* selftest: Remove unused support for --exeextAndrew Bartlett2012-02-014-58/+58
|
* ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest ratherJelmer Vernooij2011-11-101-33/+37
| | | | than samba.tests.
* Revert "pyldb: fixed ldb API test"Jelmer Vernooij2011-11-101-36/+39
| | | | | | This reverts commit 333248f08c83cc5b18f8e7e84cb19d79a8309d6e. This commit made the pyldb tests depend on the Samba testsuite.
* pyldb: fixed ldb API testAndrew Tridgell2011-11-101-39/+36
| | | | it was failing previously, but the failure wasn't being noticed
* pyldb: added binary_encode() and binary_decode() methodsAndrew Tridgell2011-07-291-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>
* ldb: added a test for an invalid search expressionAndrew Tridgell2011-07-291-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>
* pyldb: use dn.is_child_of() instead of dn.compare_base()Andrew Tridgell2011-07-211-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>
* pyldb: add unit test for ldbDn.compare_baseMatthieu Patou2011-07-211-0/+11
|
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-0537-0/+2310
Signed-off-by: Andrew Tridgell <tridge@samba.org>