Commit graph

923 commits

Author SHA1 Message Date
Quanah Gibson-Mount
3fe9678baa ITS#8414 - Remove use of "time", as it is non portable 2016-04-29 18:30:30 -07: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
Ondřej Kuzník
d94a07271d ITS#8215 Make slapmodify test failures fatal 2015-10-25 09:05:02 +00: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
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
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
Howard Chu
976b4edc4c ITS#6979 avoid bash-ism 2011-09-30 03:34:03 -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
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
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
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
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
Rein Tollevik
022deb749a Reduced debug level, the default logs more than 1Gb. 2010-12-12 18:20:51 +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
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
2521442d03 allow to customize the number of children; use swamp 2010-08-29 02:54:50 +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
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
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
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
0f86c2e8eb For ITS#5810: Use progs/ldif-filter. Retire scripts/acfilter.sh. 2009-11-29 09:10:25 +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
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
52cb7af2f6 Add delays to allow refint to complete 2009-06-29 23:25:19 +00:00
Hallvard Furuseth
74c3d458b1 More for ITS#6026: test -x is unportable, use test -f.
See Info node (autoconf)Limitations of Builtins.
2009-03-20 17:25:02 +00:00
Quanah Gibson-Mount
1d53acce70 More for ITS#6026 2009-03-16 21:53:20 +00:00
Rein Tollevik
9e18cd21bd ITS#6026 Don't run autosaved test scripts 2009-03-16 10:17:16 +00:00
Howard Chu
8a5214549a ITS#6013 fix contextCSN check 2009-03-10 15:32:25 +00:00
Quanah Gibson-Mount
a434ec6069 Bump SLEEP2 to 15 seconds for test050 2009-03-10 02:50:48 +00:00
Howard Chu
cd29e26174 change 5 retries to 10 retries at 3 seconds, 5 may not be enough 2009-03-09 01:50:54 +00:00
Howard Chu
841f3ff299 Use SLEEP2 wehn first populating. Should probably just poll contextCSNs... 2009-03-07 14:50:17 +00:00
Howard Chu
6ee9c8838f Use $MMR env var to choose up to 9 servers for testing 2009-03-07 13:45:59 +00:00
Rein Tollevik
f8c9854aaa ITS#5988 Added another server, compare server contents after each modify. 2009-03-05 19:20:15 +00:00
Rein Tollevik
8b81c98745 Test an asymmetric configuration with multiple masters. 2009-02-24 19:29:25 +00:00
Pierangelo Masarati
1361690083 make test056 back-bdb independent 2009-02-21 15:34:12 +00:00
Kurt Zeilenga
b7e54a5969 Tweak notices 2009-02-18 00:36:47 +00:00
Howard Chu
09fe2887d1 ITS#5395 add test from abartlet@samba.org 2009-02-18 00:27:03 +00:00
Howard Chu
bc473180e3 set SLEEP1 default to 7 seconds, 5 is sometimes too short for replication 2009-02-17 23:46:15 +00:00
Pierangelo Masarati
c93f15514d ignore invalidCredentials (related to ITS#5893) 2009-02-10 14:11:52 +00:00
Howard Chu
7ced805b19 ITS#5935 test delete of running consumer 2009-02-10 00:38:52 +00:00
Howard Chu
7e790c71c0 Remove obsolete libtool cruft 2009-02-09 08:58:21 +00:00
Pierangelo Masarati
e96230ee97 more about ITS#5792 2009-02-05 21:11:05 +00:00
Howard Chu
59897fcc66 ITS#5903 more tests 2009-02-03 02:16:03 +00:00
Pierangelo Masarati
b4e5626df4 typo in error message 2009-01-31 19:26:09 +00:00
Rein Tollevik
1de78498cb ITS#5910 fixed sed pathname substitution 2009-01-28 12:17:50 +00:00
Rein Tollevik
74d8f1dedd ITS#5910 always append to the log file 2009-01-28 12:14:47 +00:00
Howard Chu
fec2062629 ITS#5540 forgot a file 2009-01-27 18:47:11 +00:00
Howard Chu
b64a6cddd3 ITS#5540 sean-burford-monitor-test-080706.patch 2009-01-27 10:09:51 +00:00
Howard Chu
577619c36e ITS#5883 ordering fix 2009-01-25 04:10:11 +00:00
Howard Chu
2421515c57 ITS#5883 from Aaron Richton, with minor tweaks 2009-01-22 00:44:16 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Quanah Gibson-Mount
9ba19d7b19 Fix missing CVS header 2009-01-21 00:30:23 +00:00
Quanah Gibson-Mount
ad65041c55 Skip test if using back-ldif, as it doesn't support ACLs 2009-01-21 00:07:01 +00:00
Quanah Gibson-Mount
fe5d21e86c ITS#5842 Use "con1" instead of "con" so the tests work on windows 2008-12-02 22:06:35 +00:00
Howard Chu
f3fd5c111a Make sure consumer is in persist phase before doing modifies 2008-11-29 03:37:23 +00:00
Howard Chu
6629ca8655 Set sync intervals to 3 seconds, use SLEEP1 and SLEEP2 for sync delays 2008-11-22 23:48:17 +00:00
Rein Tollevik
74e4f9051f Only use a db_stat in PATH if it matches our environment. 2008-11-18 22:16:42 +00:00
Pierangelo Masarati
00eade08df add indexes when supported; syncrepl on configuration should always be refreshAndPersist 2008-11-16 23:06:30 +00:00
Pierangelo Masarati
89cec8c881 add indexes (when supported) 2008-11-16 22:57:38 +00:00
Pierangelo Masarati
f61459580d allow syncrepl to retry 2008-11-16 22:55:32 +00:00
Howard Chu
8726452d8f Fix prev commit 2008-11-16 09:07:19 +00:00
Hallvard Furuseth
947612e72f Kill slapd before exiting 2008-11-16 04:33:11 +00:00