Quanah Gibson-Mount
58ebe8bd45
ITS#8535 - Fix regression test for ITS#4337
2016-11-30 14:46:37 -08:00
Quanah Gibson-Mount
9a28de655f
ITS#8534 - Fix regression test to correctly load back-ldap if it is built as a module
2016-11-30 14:28:32 -08:00
Hallvard Furuseth
fe81f1d490
Fix intro comments in test configs
2016-06-12 09:44:45 +02:00
Quanah Gibson-Mount
3fe9678baa
ITS#8414 - Remove use of "time", as it is non portable
2016-04-29 18:30:30 -07:00
Nadezhda Ivanova
6cafdfa8d8
ITS#8303 Asynchronous meta back-end for OpenLDAP
2016-02-01 14:35:47 +00:00
Quanah Gibson-Mount
6c4d6c880b
Happy New Year!
2016-01-29 13:32:05 -06:00
Quanah Gibson-Mount
caabc7299b
ITS#8297 sleep before checking contextCSN values
2015-11-10 15:58:20 -06:00
Hallvard Furuseth
cfdccc079c
ITS#8292 Fix ldif-filter, drop workaround for bug
2015-10-27 12:29:22 +01:00
Howard Chu
e6e9bed5c8
ITS#8216 fix ldif-filter invocation
2015-10-27 02:54:30 +00:00
Howard Chu
43c4bcd3bf
ITS#8216 Windows compat
2015-10-26 11:52:40 +00:00
Ondřej Kuzník
d94a07271d
ITS#8215 Make slapmodify test failures fatal
2015-10-25 09:05:02 +00:00
Howard Chu
634ccc758d
ITS#8280 Fix Windows EOL in test output
2015-10-21 00:46:01 +01:00
Howard Chu
ccffcece15
Avoid timing issues in pcache
2015-08-04 13:27:01 +01:00
Ondřej Kuzník
d74b45cfda
ITS#8057 test cases
2015-04-08 23:26:37 +01:00
Quanah Gibson-Mount
1705fa7e55
Happy New Year
2015-02-11 15:36:57 -06:00
Howard Chu
b5da411e1e
ITS#8046 add vrFilter test
2015-02-08 11:24:57 +00:00
Howard Chu
fccca0ead9
Minor cleanup (coverity)
2015-01-14 16:59:54 +00:00
Ondřej Kuzník
349c401698
ITS#7781 Add test
2014-12-18 19:34:42 +00:00
Ondrej Kuznik
90d7574066
ITS#7256 Temporarily disable slapmodify checks
2014-07-08 17:25:58 -07:00
Ondrej Kuznik
1c2b5e3c0c
ITS#7256 Introduce slapmodify test
2014-07-08 17:25:50 -07:00
Kurt Zeilenga
5c878c1bf2
Happy new year (belated)
2014-01-25 05:21:25 -08:00
Pierangelo Masarati
d6b82ec6d0
more about ITS#7525
2013-03-01 10:20:57 +01:00
Hallvard Furuseth
d235778c71
ITS#7473 Sort some test041-aci LDIF output if MDB
2013-01-28 14:25:02 +01:00
Kurt Zeilenga
0fd1bf30b8
Happy New Year
2013-01-02 10:22:57 -08:00
Jan Synacek
2f232b5281
ITS#7423 Update slapo-constraint tests
2012-10-30 16:09:40 -07:00
Hallvard Furuseth
0e05417b58
Fix test060-mt-hot debug level
2012-10-15 17:07:02 +02:00
Jan Synacek
96b994e6dd
ITS#7366 Update slapo-constraint tests
2012-09-28 10:21:26 -07:00
Howard Chu
30bb0b0b2a
ITS#7340 more test script cleanup
2012-08-20 14:02:44 -07:00
Howard Chu
191ff344e9
ITS#7344 cleanup, integration
2012-08-02 07:29:55 -07:00
Jan Synacek
d41497d596
ITS#7344 Add initial testsuite for slapo-constraint
2012-08-02 07:01:31 -07:00
Howard Chu
5ff873d575
ITS#7317 use SLEEP0 instead of 1 second sleep
2012-07-03 16:24:19 -07:00
Howard Chu
03737b5bfa
ITS#7228 check for unexpected result from ldapsearch
2012-04-06 03:37:54 -07:00
Hallvard Furuseth
af3a23a1ec
ITS#7204 Fix test044-dynlist for --disable-monitor
...
test044-dynlist uses olcDatabase={2}$BACKEND,cn=config.
This breaks when back-monitor is omitted as database {1}.
2012-03-09 22:17:33 +01:00
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
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
Pierangelo Masarati
15bcbdbc32
extract at least result code
2010-08-29 01:25:36 +00:00
Pierangelo Masarati
ac4b38ac39
tell what child is causing trouble
2010-08-29 01:12:28 +00:00
Pierangelo Masarati
2b3b07da46
add 'swamp' capability to slapd-read, also via slapd-tester
2010-08-28 22:27:34 +00:00
Pierangelo Masarati
5e5b061719
allow to use 'swamp' from slapd-tester
2010-08-28 21:38:47 +00:00
Pierangelo Masarati
6ac38f9cc6
extra 'swamp' modes: -SS start searches and read responses; -SSS start all searches, then read all responses
2010-08-10 05:59:10 +00:00
Howard Chu
3d2583e533
Test replication of cn=config with suffixmassage
2010-06-21 19:53:01 +00:00
Pierangelo Masarati
5a5703906e
sort attrs (blind fix for ITS#6553)
2010-05-25 01:58:18 +00:00
Pierangelo Masarati
7e7e19f5b9
check rename with newly added superior while consumer is down (ITS#6472)
2010-04-18 06:54:02 +00:00
Pierangelo Masarati
88ffa89ae3
fix syncrepl when attr has no matching rule (ITS#6458)
2010-04-18 06:00:29 +00:00
Kurt Zeilenga
3dadeb3efe
happy belated New Year
2010-04-13 22:17:29 +00:00
Hallvard Furuseth
78ece29ae1
ITS#5810 undo last commit: s/^#${AC_null}#// would remove #mod#, not #nullmod#
2009-12-08 19:07:12 +00:00
Pierangelo Masarati
88f5f39472
ITS#6418
2009-12-08 18:49:09 +00:00
Hallvard Furuseth
525f1cafb8
Fix last commit, and also define AC_ldif
2009-12-07 21:19:47 +00:00
Hallvard Furuseth
947f2cd6f9
Support back-null after all
2009-12-06 23:13:22 +00:00
Hallvard Furuseth
1381825003
Wait for central master to start after final restart.
...
Narrow tests for failed entry removal: 'RC = success' -> 'rc != noSuchObject'.
2009-12-06 21:01:45 +00:00
Hallvard Furuseth
108dc0ef25
Fix typo "KILL -HUP" -> "kill -HUP" (after some failures)
2009-12-06 19:58:13 +00:00
Hallvard Furuseth
87d5d6a92b
Support back-null
2009-12-06 16:08:13 +00:00
Hallvard Furuseth
182e231447
Update aged test: recognize olcAddContentAcl,olcMonitoring,olcSyncUseSubentry
2009-12-06 14:54:09 +00:00
Hallvard Furuseth
795fcced3d
ITS#5810: exclude instead of include backends, explain exclusion
2009-12-06 14:04:51 +00:00
Hallvard Furuseth
cd8c1faecb
ITS#5810: fix previous commit - skip back-null
2009-12-06 14:04:02 +00:00
Hallvard Furuseth
5f5ad73236
ITS#5810: tweak previous commit - explain backend exclusion
2009-12-06 14:03:27 +00:00
Hallvard Furuseth
9417403a7f
ITS#5810: skip back-ldif
2009-12-06 14:01:38 +00:00
Hallvard Furuseth
27dc946239
ITS#5810: Skip test for back-null
2009-12-04 16:45:19 +00:00
Hallvard Furuseth
3840353d6a
Support back-null
2009-12-04 16:44:44 +00:00
Hallvard Furuseth
4d0ff8f7e9
Add loglevel sync to the default
2009-11-30 21:43:06 +00:00
Hallvard Furuseth
91909d3a75
ITS#5810: support back-null
2009-11-29 22:32:21 +00:00
Hallvard Furuseth
33f9ebb92f
ITS#6406: Return failure instead of $? when a program unexpectedly succeeded
2009-11-29 22:27:34 +00:00
Hallvard Furuseth
299d802d45
ITS#5810 support back-null
2009-11-29 19:05:26 +00:00
Hallvard Furuseth
e0124c5e15
ITS#5810 support back-null
2009-11-29 18:38:04 +00:00
Hallvard Furuseth
70cfb06727
ITS#5810 Add syntax "#~backend~backend...~#option": inverse of #backend#option
2009-11-29 18:01:35 +00:00
Hallvard Furuseth
dcc36ef23b
Pass expected output through ldiffilter before comparing with actual output
2009-11-29 17:54:04 +00:00
Hallvard Furuseth
c066dd12dc
Pass the correct backend to ldiffilter
2009-11-29 17:49:52 +00:00
Hallvard Furuseth
b01ecb42b5
ITS#5810 skip test for LDIF backend
2009-11-29 14:31:11 +00:00
Hallvard Furuseth
e7bb3f87db
ITS#5810: support back-ldif
2009-11-29 11:46:48 +00:00
Hallvard Furuseth
c562508af3
Use getopt()
2009-11-29 09:59:22 +00:00
Hallvard Furuseth
0f86c2e8eb
For ITS#5810: Use progs/ldif-filter. Retire scripts/acfilter.sh.
2009-11-29 09:10:25 +00:00
Hallvard Furuseth
725743abdb
ITS#5810 Add ldif-filter for LDIF test output, extending scripts/acfilter.sh
2009-11-29 00:03:06 +00:00
Pierangelo Masarati
787e53e6a4
connid is unsigned; offset real conns by maxrid + 1
2009-11-21 23:26:32 +00:00
Howard Chu
87d62adfaa
Faster server restart
2009-11-21 00:00:40 +00:00
Howard Chu
780ec830bb
Fix typo in prev commit
2009-11-20 21:08:26 +00:00
Howard Chu
2de14c4ebc
ITS#6368 add a rapid sequence of add-mod-del tests
2009-11-19 20:16:48 +00:00
Howard Chu
545eb44fd5
ITS#6332 try a larger mod with some redundant modops
2009-11-15 20:10:44 +00:00
Hallvard Furuseth
02fa0b0235
ITS#6345 cleanup: Simplify tester_ignore_err() and tester_ignore_str2err()
2009-10-21 16:46:58 +00:00
Hallvard Furuseth
0d5ac22a2f
ITS#6345: Fix tester_ignore_err() cut&paste error (negative array index)
2009-10-21 16:41:21 +00:00
Hallvard Furuseth
0db0fc22ec
ITS#6343: Handle --enable-memberof --disable-refint
2009-10-21 12:29:38 +00:00
Howard Chu
07237a711c
ITS#6152 test pwdModify
2009-08-21 13:50:59 +00:00
Howard Chu
27c39c56c4
ITS#6152 add tests for cache refresh and Bind caching
2009-08-21 13:25:38 +00:00
Howard Chu
2148902e3d
Skip if monitor backend not enabled
2009-08-15 22:36:00 +00:00
Howard Chu
5b15978248
Give more time for sync after master restart
2009-08-06 22:15:56 +00:00
Pierangelo Masarati
f2e1b78391
silence warnings; misc cleanup; test refresh as non-allowed user
2009-08-03 22:49:30 +00:00
Pierangelo Masarati
e9f1452624
test whether the current entry matches the current uri filter (ITS#6077); also, don't leak DN when adding a base fails
2009-07-24 22:00:53 +00:00
Ralf Haferkamp
22083ce459
Should work now when using custom SLAPD_BASEPORT setting (ITS#6213)
2009-07-14 13:35:56 +00:00
Hallvard Furuseth
fb0fb4a274
For ITS#5810: Show which backend is being tested
2009-07-08 16:20:53 +00:00
Hallvard Furuseth
22c68eec16
Handle IPv6 localhost address
2009-07-02 15:26:52 +00:00
Howard Chu
460cb4bd4b
Give more time to sync after restart
2009-07-02 00:31:48 +00:00
Howard Chu
edb1f50bfb
ITS#6191 fix typo in URI for adding back-ldap
2009-07-01 13:12:45 +00:00
Howard Chu
695dbcb26d
Enable cn=config, add test for policy state forwarding
...
from consumer to provider
2009-07-01 07:46:06 +00:00
Howard Chu
638cedebb3
ITS#5836 add -S "swamp" mode: send requests without reading replies
2009-07-01 03:19:07 +00:00