summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/test-generic.sh
AgeCommit message (Collapse)AuthorFilesLines
2009-02-03s4:lib/ldb: call ldb utils always via $VALGRIND ldbfoo$EXEEXT in the testsStefan Metzmacher1-34/+34
metze
2008-09-12Fix spellings and file namesSimo Sorce1-1/+1
(This used to be commit baddefd0a6fa430af1a3001064149127e0d29361)
2007-10-10r19273: - fixed error handling with the ldap backendAndrew Tridgell1-4/+13
- propogate errors to the ldbadd command line tool - use the rdn_name module when testing the tdb backend to allow the same test code to correctly test the ldap and non-ldap backends (This used to be commit dd82c474a123d90329bda653a4cb73c93e087b15)
2007-10-10r18538: we need a pipe here, not a logical ORAndrew Tridgell1-1/+2
also fix cn name for this record, and ensure tests/tmp is created (This used to be commit 588c91f06b90467279600fe6a1222273b5d53915)
2007-10-10r18536: fixed the loading of external binary files from ldif into ldbAndrew Tridgell1-3/+6
(This used to be commit fbe13ed83e2f3508db6d77f4bd65a913ef12ff02)
2007-10-10r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell1-3/+5
libreplace. This should fix the standalone build of tdb on HPUX, where we need to blacklist mmap. Unfortunately this requires that we have a copy of config.guess and config.sub in each of our project subdirectories. I tried to find a way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just put config.{guess,sub} in the lib/replace/ directory, but I couldn't figure out how to do that in a way that kept autoconf happy for each of our separate builds. Any autoconf guru out there see a way to do this? (This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
2007-10-10r18515: Remove calls to "time" for now as some sh implementations don't have it,Jelmer Vernooij1-2/+2
causing this test to fail. (This used to be commit fc3f41a4ab38fd32386c5bdb1979cc26892afcf8)
2007-10-10r17765: fix handling of old solaris /bin/sh in ldb build/testAndrew Tridgell1-1/+2
(This used to be commit f41d3ed4b3d76c37c9c5bfd15e9e4e27179450f0)
2007-10-10r17679: - fix 'make test-ldap' to skip ldb specialsAndrew Tridgell1-2/+8
- allow ldb to be built in a separate build directory, using: /some/path/to/ldb/configure make this will make it much easier to put ldb in the build farm without interfering with the build farm builds of tdb and talloc (This used to be commit 580ed6730d33bad62e9799a38377c40f2852ae89)
2007-10-10r13742: Fix tests to work better with ldapSimo Sorce1-7/+9
(This used to be commit 4de76fd09e74a4a98d01777dd11bd2cfb1a681aa)
2007-10-10r13348: Put a reminder for now.Simo Sorce1-0/+2
Until we do not have an internal utf8 compliant casefloding function we cannot pass this test in the non-samba build (This used to be commit 5d93c1eeba8f64784294f3aabcaefa4aaf798355)
2007-10-10r12828: add a test to check white spaces comparisonSimo Sorce1-1/+1
(This used to be commit ad189553f420d70c4a726cf118e1273ea053f4d6)
2007-10-10r10251: some more work on ldb_sqlite3Simo Sorce1-2/+23
I must say that writing a new module is a very good way to find lot of subtle bugs laying in the code We need more tests! commit oLschema2ldif.c to keep it safe from data losses (rm -fr :-) update test generic to reflect the fix made on comparsion functions (This used to be commit 4357a2db5eadb15519ed93b957b2bad25ebf2a7d)
2007-10-10r8585: add to ldb and ldap comparison functionalitySimo Sorce1-0/+13
better pares filters Approx is currently only a stub need to dig more info to understand what it really means and how it works exactly (This used to be commit a9e8cd0bad27ed2b3c6a12302e787ba3c9a70a3c)
2007-10-10r8490: make the ldb tests more portableAndrew Tridgell1-1/+1
(This used to be commit 6b20bcbeeb33a2cf6abc7bb251830ad6def9a79e)
2007-10-10r8373: New wildcard matching code.Simo Sorce1-0/+9
This code applies correct ldap standard wildcard matching code removes WILDCARD matching from tdb @ATTRIBUTES, that's now handled independently adds some more tests for wildcard matching fixes dn comparison code in ldb_match (This used to be commit 4eb5863042011988d85092d7dde3d809aa15bd59)
2007-10-10r8071: reduce the size of the default ldb tests. We run on some pretty low ↵Andrew Tridgell1-2/+2
powered machines in the farm, and don't want to chew too much cpu needlessly. (This used to be commit c03753faa46d52ae4606546b57962e10c41ea3ad)
2007-10-10r8043: increase shell compatibility of ldb testsAndrew Tridgell1-1/+1
(This used to be commit 60863b6faf7f78566052491340607cbb4b3f2e72)
2007-10-10r8039: allow ldb test suite to be run outside of the ldb directoryAndrew Tridgell1-22/+22
(This used to be commit f3e3b2ccd93b87c1c240cf7e44106389b089b526)
2007-10-10r7834: added comment about the "((" search testAndrew Tridgell1-0/+4
(This used to be commit 42c42f6611fa295ca60782661781d023c4fdaf8b)
2007-10-10r7833: changed ldbsearch and ldbedit to have command line syntax closer toAndrew Tridgell1-1/+1
ldapsearch. They look for an '=' in the first argument to see if it is a search expression, and if not then it does an 'all records' search (This used to be commit 91cc009fedefa7b263b345dfa511800e0f4f66a8)
2007-10-10r7831: use cn=TEST as base of test DNs so we don't interfere with ↵Andrew Tridgell1-4/+4
potentially real records (This used to be commit 2a426f654db668f4bfc899771dd11598e295b774)
2007-10-10r7806: add test for binary files as attribute valuesSimo Sorce1-0/+3
(This used to be commit 2b2675055e5113eccb0b876799b226d480335495)
2007-10-10r7709: - convert ldb to use popt, so that it can interact with the sambaAndrew Tridgell1-2/+2
cmdline credentials code (which will be done soon) - added a ldb_init() call, and changed ldb_connect() to take a ldb context. This allows for much better error handling in ldb_connect(), and also made the popt conversion easier - fixed up all the existing backends with the new syntax - improved error handling in *_connect() - fixed a crash bug in the new case_fold_required() code - ensured that ltdb_rename() and all ltdb_search() paths get the read lock - added a ldb_oom() macro to make it easier to report out of memory situations in ldb code (This used to be commit f648fdf187669d6d87d01dd4e786b03cd420f220)
2007-10-10r7615: fix the build and simplify gendb_search_dnSimo Sorce1-1/+1
(This used to be commit b38bb63175ae0bdcf833c017e5fbbfc2c0769506)
2007-10-10r7239: add a little testSimo Sorce1-0/+1
(This used to be commit 9293de1c354854ace3f8f60a2accc72f4686c6e2)
2007-10-10r6867: this code will change the way the @ATTRIBUTES object is handledSimo Sorce1-0/+3
this object properties are now used as multivalue attributes now all values inserted are checked against a "valid values table" eg: this form is now accepted: dn: @ATTRIBUTES uid: CASE_INSENSITIVE uid: WILDCARD this form is now rejected: dn: @ATTRIBUTES uid: CASE_INSENSITIVE WILDCARD please update your .ldb files if you make use of @ATTRIBUTES (sam.ldb heavily uses it) the code passes all make test tests for both tdb and ldap, it also passes the new test to check for wrong @ATTRIBUTES attribute values Simo. (This used to be commit 1295b891a26c2cb2c34540f90ded83390cf87da2)
2007-10-10r4477: expanded the test suite to increase code coverage a lotAndrew Tridgell1-1/+5
(This used to be commit 4edbd1b18ee38e584cf844b64c7fcb2645921837)
2007-10-10r4474: - converted ldb to use talloc internallyAndrew Tridgell1-0/+8
- added gcov flags to Makefile.ldb - expanded ldb test suite to get more coverage (This used to be commit 0ab98f50a7e0fe15347a99e5c29a6590a87729a0)
2007-10-10r3757: Some fixes for ldb_ldapSimo Sorce1-0/+2
Now we pass also the test-ldap tests :-) (This used to be commit 0d58b1dc5aa0b00a924c1c5506f0c500c0b37b3e)
2007-10-10r3095: - fix a free'ing of msg.dnStefan Metzmacher1-6/+6
- reenable index tests metze (This used to be commit 1e7e94fdb10db831090f9bd37e39053dfcde04ce)
2007-10-10r3093: - implment ldb_rename() and ldbrenameStefan Metzmacher1-6/+16
- add tests for ldbrename - disable all tests which regenerate the index (this is broken for me...the process hangs, tridge we need to discuss that) - link only the needed stuff to the ldb tools - build ldbtest inside samba metze (This used to be commit 18552f4786c24e0019cc87726ef4c05365fe586e)
2007-10-10r2554: added a test for a bug that jelmer pointed out (handling of -s one)Andrew Tridgell1-0/+7
(This used to be commit 74d7bc1948961a24837d966416db12be192382ff)
2007-10-10r502: modified ldb to allow the use of an external pool memoryAndrew Tridgell1-6/+6
allocator. The way to use this is to call ldb_set_alloc() with a function pointer to whatever memory allocator you like. It includes a context pointer to allow for pool based allocators. (This used to be commit 3955c482e6c2c9e975a4bb809ec8cb6068e48e34)
2007-10-10r490: - expanded the test suite to test modify and delete operationsAndrew Tridgell1-3/+12
- made yet another attempt to make ldb const clean. - "make test" now runs both the tdb and ldap backend tests, and run the ldbtest utility with and without indexing - added prototypes in ldb.h for ldb_msg_*() public functions (This used to be commit 01e87406768cb5a98ac8530a2f361a4987a36cd3)
2007-10-10r435: a major upgrade for ldbAndrew Tridgell1-2/+2
- added the ability to mark record attributes as being CASE_INSENSITIVE, WILDCARD or INTEGER. - added the ability to support objectclass subclasses, and to search by a parent class - added internal support for case insensitive versus case sensitive indexing (not UTF8 compliant yet) - cleaned up a number of const warnings - added a number of helper functions for fetching integers, strings and doubles - added a in-memory cache for important database properties, supported by a database sequence number - changed some variable names to avoid conflicts with C++ (This used to be commit f2bf06f25c2e6c744817711c7bedbd1d3b52f994)
2007-10-10r131: mark some scripts executableAndrew Tridgell1-0/+0
(This used to be commit fe1a5a8e2564611450bbef0f500ba6d554527fed)
2004-04-03added the rest of the ldb_modify() code, which required a fairly largeAndrew Tridgell1-0/+8
change in the ldb API. The API is now much closer to LDAP. (This used to be commit e9e85c464411c561c5073d262a2e3533fec175ca)