Commit graph

1277 commits

Author SHA1 Message Date
Howard Chu
8ca32bcb91 For test063
add hex timestamp to lutil_debug() output
Fix LASTMOD race condition in accesslog.c
Set refreshInterval even if using refreshAndPersist, since
fallbacks will use refresh params
2011-08-30 19:14:56 -07:00
Howard Chu
0fcc88809f Merge remote branch 'hbf/mdb.hbf' into mdb 2011-08-28 04:19:58 -07:00
Howard Chu
762c9e432f bump mdb maxsize up to 32M to pass test060
Note in slapd-mdb(5) that setting a huge size is desirable.
2011-08-28 04:05:28 -07:00
Hallvard Furuseth
8d78d1e8a0 Fixup maindb/indexdb 2011-08-28 13:00:57 +02:00
Hallvard Furuseth
cc2b67329a tests/data/: #bdb/hdb|mdb# -> #maindb/indexdb#.
Done for keywords index,limits.  (Also do 'mode' if there were any cases.)
Change generated by:  perl -i -pw0777e '
  INIT { $q=qr/\#(?:[bhm]|index|main)db\#/im; $k=qr/(?:index|limits|mode)\b/ }
  0 while s/^$q($k.*\n)((?:$q.*\n)*?)\n?$q\1/\#maindb\#$1$2/imo;
  s/^\#maindb\#index/\#indexdb\#index/igm;
' tests/data/* tests/data/regressions/*/*
2011-08-28 11:21:18 +02:00
Hallvard Furuseth
97873d8808 tests: Add $MAINDB, $INDEXDB for [bhmn]db tests.
Simplifies tests for the DB storage backends.
Adds indexing etc to mdb/ndb in some cases to match bdb/hdb.
This also fixes some broken back-null/back-ldif settings.
2011-08-28 10:45:50 +02:00
Hallvard Furuseth
06eeff7c13 Add MDB support to configure and test framework.
Does not update the tests themselves.

In configure --help, call it "mdb database backend" instead of something
with "memory-mapped" which could confuse somebody about a memory-only DB.
2011-08-27 16:31:18 +02:00
Howard Chu
07d2443ad0 Add mdb to test025-limits 2011-08-26 17:19:54 -07:00
Howard Chu
8dbac9ef0c Add mdb stuff 2011-08-26 14:32:40 -07:00
Howard Chu
3fe973fd0c Fix moduleload path 2011-08-26 14:31:35 -07:00
Pierangelo Masarati
15987caa11 error messages from ldapsearch changed 2011-08-22 08:43:57 -06:00
Rein Tollevik
62861cae0e ITS#6716 Extend test where consumer/provider holds CSNs with differing SIDs. 2011-06-27 14:17:39 +02:00
Quanah Gibson-Mount
15ae0134ee Disable test058 until it someone can track down what's wrong with it 2011-06-22 15:16:08 -07:00
Howard Chu
05ca8c3710 More fixes, add test script 2011-06-20 11:05:08 -07:00
Hallvard Furuseth
45dfacd9d5 Fix test062-config-delete typo 2>%1 to 2>&1 2011-05-07 20:14:50 +02:00
Hallvard Furuseth
a1f32047d1 More ITS#6404 fix test020-proxycache exit codes 2011-02-18 17:33:59 +00:00
Howard Chu
844680ba4a ITS#6404 fix exit codes 2011-02-17 03:23:14 +00:00
Howard Chu
d37b550c4f ITS#6625 ldap_pvt_thread_t's are not necessarily scalar/printable, just
use idx instead. Can be mapped using rtid table if needed (e.g. in gdb)
2011-02-04 23:23:34 +00:00
Howard Chu
3ef4876914 ITS#6625 use TESTLOOPS to control test length 2011-02-04 22:06:43 +00:00
Ralf Haferkamp
6a63dc74e7 New testcase for cn=config overlay delete support 2011-02-04 17:34:52 +00:00
Ralf Haferkamp
6c9b5aa01b ITS#6794 Testcase for multi-threaded slapadd -q 2011-01-21 17:10:12 +00:00
Howard Chu
194f18f0fb ITS#6782 more of the same 2011-01-07 01:04:56 +00:00
Howard Chu
6b700df8f0 ITS#6782 more of the same 2011-01-07 00:49:36 +00:00
Howard Chu
83af5248eb ITS#6782 fix moduleload path 2011-01-07 00:15:24 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Quanah Gibson-Mount
b330d7630a Use provider instead of producer, as provider is a very specific term in replication 2011-01-04 01:30:28 +00:00
Pierangelo Masarati
58bf3de504 add more rename/delete tests 2011-01-01 19:49:27 +00:00
Hallvard Furuseth
78a0be6a42 Plug memory leaks 2010-12-20 10:51:14 +00:00
Rein Tollevik
022deb749a Reduced debug level, the default logs more than 1Gb. 2010-12-12 18:20:51 +00:00
Hallvard Furuseth
042fa7ff9a ITS#6735 Fix uninitialized filter in slapd-tester 2010-12-04 18:58:20 +00:00
Hallvard Furuseth
7c29e2c7c5 ITS#6723: Handle EOF in test programs 2010-11-23 12:12:54 +00:00
Hallvard Furuseth
5dd8cc1015 Warning cleanup
Avoid "cast pointer to int of different size" warning by passing
the int arg to new threads as an offset into rtid/rwtid.
2010-11-22 15:44:11 +00:00
Hallvard Furuseth
c62b0553ad Some cleanup 2010-11-22 15:26:17 +00:00
Hallvard Furuseth
6dff367fce Fix typo $backend -> $BACKEND in message 2010-11-22 12:21:08 +00:00
Hallvard Furuseth
5bf532520f Support back-null 2010-11-19 15:20:53 +00:00
Hallvard Furuseth
b83d619d87 Support statically linked syncprov 2010-11-19 14:33:22 +00:00
Hallvard Furuseth
77b87520f6 Support configure --disable-monitor 2010-11-19 13:32:33 +00:00
Rein Tollevik
7f38183281 Added bdb/hdb checkpoint directive. Fixed typo. 2010-11-15 12:20:06 +00:00
Rein Tollevik
d25e261490 Test initiation of the syncreplication refresh phase. 2010-11-14 21:47:57 +00:00
Howard Chu
e7e442574e Use URIs, not host/port combos. Allows testing ldapi:// 2010-10-24 00:01:37 +00:00
Howard Chu
11ee5a5212 Fix typo 2010-10-24 00:01:11 +00:00
Howard Chu
3b7d5d6ec6 Commit again, with execute privs 2010-10-23 12:03:18 +00:00
Howard Chu
31ad1085d6 Try again... 2010-10-23 12:02:29 +00:00
Howard Chu
0f30db1c46 ITS#6625 concurrency patch from Doug Leavitt @ Oracle .com 2010-10-22 21:45:48 +00:00
Pierangelo Masarati
c405143a0a ignore undefined attrs (ITS#6600, based on patch by Jonathan CLARKE) 2010-09-07 02:03:23 +00:00
Pierangelo Masarati
bf9b8e5e5f s/provider/producer/ 2010-08-29 06:11:13 +00:00
Pierangelo Masarati
5f8bbc5eba use as tester an identity that needs to be proxedauthz'ed (more representative and stressful) 2010-08-29 05:06:07 +00:00
Pierangelo Masarati
15987038fb mode=self makes more sense 2010-08-29 02:55:35 +00:00
Pierangelo Masarati
2521442d03 allow to customize the number of children; use swamp 2010-08-29 02:54:50 +00:00
Pierangelo Masarati
7aeb00b494 cleanup debug messages 2010-08-29 01:45:14 +00:00