Commit Graph

1286 Commits

Author SHA1 Message Date
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Hallvard Furuseth
38e8b2333f ITS#6979 clean up previous test062 fix 2011-11-30 12:00:43 +01:00
Hallvard Furuseth
98c6d52593 ITS#7101 test001: Skip back-ldif unordered slapadd 2011-11-30 11:41:50 +01:00
Howard Chu
2a8b55b1c5 ITS#7090 test unordered slapadd 2011-11-25 01:29:34 -08:00
Hallvard Furuseth
9845c030ab make alltests += back-ldif tests 2011-11-20 13:53:35 +01:00
Howard Chu
976b4edc4c ITS#6979 avoid bash-ism 2011-09-30 03:34:03 -07:00
Howard Chu
b1a08d565d Support single parameter substitution in filter 2011-09-18 13:24:24 -07:00
Howard Chu
3fb20f1e91 deltasync test tweaks
Check replication success before stopping consumer.
Set retry/interval to make sure consumer reconnects after provider restart.
2011-09-17 03:08:02 -07:00
Howard Chu
0e96868e8e Fix onelevel search from last commit 2011-09-14 09:54:58 -07:00
Howard Chu
2cd64e1193 Print loop counter on failure 2011-09-07 23:49:41 -07:00
Howard Chu
f7a0fc9f8b Fix log parsing, broken by 8d74f71 2011-09-02 13:22:41 -07:00
Howard Chu
0e4412de20 Tests updates for mdb 2011-09-01 17:03:57 -07:00
Howard Chu
df81345337 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.

Conflicts:

	servers/slapd/back-mdb/Makefile.in
2011-09-01 17:00:26 -07:00
Hallvard Furuseth
893aa3eddb tests/data/: #bdb,hdb# -> #maindb/indexdb#.
Done for keywords index,limits.  (Also do 'mode' if there were any cases.)
Change generated by:  perl -i -pw0777e '
  INIT { $q=qr/\#(?:[bh]|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-09-01 13:53:03 +02:00
Hallvard Furuseth
404299371c tests: Add $MAINDB, $INDEXDB for [bhn]db tests.
Simplifies tests for the DB storage backends.
Adds indexing etc to ndb in some cases, to match bdb/hdb.
This also fixes some broken back-null/back-ldif settings.
2011-09-01 13:37:36 +02:00
Howard Chu
568d3a05d2 Also track skipped (non-executable) tests 2011-08-31 17:35:06 -07:00
Howard Chu
9af5e181cb Add NOEXIT envvar to run all tests and tally failures 2011-08-31 15:15:39 -07:00
Howard Chu
8d74f717ff 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:16:39 -07:00
Howard Chu
889154d798 Fix moduleload path 2011-08-26 14:33:30 -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