Commit Graph

1516 Commits

Author SHA1 Message Date
Ryan Tandy
7ce474050e ITS#6035 Fix test076 to specify SASL mech 2020-04-16 09:51:28 -07:00
Quanah Gibson-Mount
a97eed06f0 ITS#6937 - Remove unused proctitle bits 2020-04-15 19:32:28 +00:00
Ondřej Kuzník
6d6a330057 ITS#8245 Use Relax control to avoid uniqueness checks
Still needs to retrieve the entry for ACL resolution until we can
restrict controls with ACLs.
2020-04-06 20:44:09 +00:00
Ondřej Kuzník
6d9e9e6cb0 ITS#6207 Print out test timings 2020-04-03 09:47:46 +01:00
Ondřej Kuzník
720057f4f3 ITS#8753 Fix pinning test script with no openssl 2020-04-03 09:47:46 +01:00
Ryan Tandy
2b01b8dd56 ITS#6035 Create test script 2020-04-02 09:10:51 -07:00
Ondřej Kuzník
9835662927 ITS#9160 OOM handling in test programs 2020-02-07 09:46:52 +00:00
Quanah Gibson-Mount
e67edd9895 This test no longer valid after the fix for ITS#9015, skip it 2020-01-30 16:08:50 +00:00
Ondřej Kuzník
373e497b0e ITS#9156 Add some ppolicy v10 tests 2020-01-23 23:47:09 +00:00
Ondřej Kuzník
44191183be ITS#9156 Move ppolicy schema into the module 2020-01-23 23:45:41 +00:00
Quanah Gibson-Mount
f6ad222e41 Happy New Year! 2020-01-09 16:50:21 +00:00
Ondřej Kuzník
2a301c3040 ITS#9124 Cancel exop test, piggybacking on syncrepl tests 2020-01-03 11:49:17 +00:00
Howard Chu
2ad87f4235 ITS#9121 extend test cases
Test for filtered dynamic attrs, memberOf, filtered memberOf
2019-12-18 20:31:21 +00:00
Howard Chu
90b0abd894 ITS#9121 dynlist enhancements
1) allow filtering on dynamic attribute values
2) populate an optionally configured memberOf attribute

test044 script still needs to be extended to test these
enhancements. We need to define an interim attributeType
for testing memberOf functionality.
2019-12-16 18:31:12 +00:00
Ondřej Kuzník
39fc8a7c96 ITS#8427 Set up a regression test 2019-07-15 17:01:08 +02:00
Ondřej Kuzník
15137bf76f ITS#9038 Another test028 typo 2019-07-08 23:29:04 +00:00
Ondřej Kuzník
12f0242589 ITS#9038 Fix typo in test script 2019-06-24 16:37:23 +02:00
Ondřej Kuzník
75e0eba1f7 ITS#9000 memberof: noop a noop rename 2019-06-20 16:55:13 +02:00
Ondřej Kuzník
eb5a58487b ITS#9038 Update test028 to test this is enforced 2019-06-19 18:47:32 +02:00
Quanah Gibson-Mount
86bffa713e ITS#9010 - More BDB/HDB cleanup
Remove some remaining documentation bits referencing bdb/hdb databases
Remove regression test specific to back-bdb
2019-06-07 17:31:53 +00:00
Quanah Gibson-Mount
70b57c5667 ITS#8734 - Fix testsuite for asyncmeta
Some portions of the test suite did not correctly handle asyncmeta, fix
those issues.  Tests execute and pass after this change
2019-05-13 23:08:33 +00:00
Quanah Gibson-Mount
262a074303 ITS#9010 - Fix test suite
Some additional fixes for the testsuite now that back-bdb/hdb are no
longer present.
2019-05-13 19:41:36 +00:00
Quanah Gibson-Mount
ec2cb12e68 ITS#9010 - Delete back-bdb/back-hdb
This commits deletes all references and code for back-bdb and back-hdb.
There is some follow up work still necessary to flush out the admin
guide for back-mdb.
2019-05-13 17:20:28 +00:00
Ondřej Kuzník
593512bb7b Do not leak lds in slapd-* tools 2019-03-27 10:54:42 +00:00
Howard Chu
47102fcced Add persist support 2019-03-20 08:47:48 -07:00
Nadezhda Ivanova
bb7e14d201 ITS#8734 Fixes for many back-asyncmeta issues
Includes all the changes necessary to fix back-asyncmeta issues
discovered during on-site testing since the start of 2016.
These include:
Issues with stability - crashes and assetion failures
Incorrect behavior during unstable network conditions, such as inability to reset connections
or process responses, or "hanging" to wait for a response that would never be received.
Memory leaks and memory management fixes - major redesign of the way back-asyncmeta
works with memory contexts.
Rewrite was replaced with suffix-massage in configuration, and the network-timeout value was changed to milliseconds.
Incorrect behavior when SASL is used to bind to a target.
Many problems caused by race conditions
Fixes for compiler warnings, and tests.
Cleanup of unused code.
2019-02-28 16:22:11 +00:00
Ondřej Kuzník
64141fda51 ITS#8753 Add pinning tests 2019-02-25 14:28:27 +00:00
Howard Chu
e8c62bf8b4 ITS#8966 add changelog support to syncrepl consumer
Tested against DSEE7. The DSEE binaries must be in your path to run the test script.
2019-01-29 18:51:43 -08:00
Quanah Gibson-Mount
b45a6a7dc7 Happy New Year! 2019-01-14 18:46:16 +00:00
Ondřej Kuzník
8dea22af7e Test updating memberof config works 2019-01-11 15:15:36 +00:00
Howard Chu
ab33121a7b More for test071 2018-12-22 10:41:45 -08:00
Howard Chu
a1bf7f3ddc MSAD add basic test
Requires additional envvars to be set before running.
2018-12-22 09:09:56 -08:00
Quanah Gibson-Mount
f6bf403f1e ITS#8752 - Regression test fix
Increase sleep intervals to avoid test failures on slower/busy systems
2018-12-18 00:34:31 +00:00
Ondřej Kuzník
ddcb186427 Update ITS#8752 regression test 2018-11-14 14:01:43 +00:00
Ondřej Kuzník
a3a9019883 slapd-addel adds/removes entries that we bind as, silence default warning 2018-10-31 18:23:40 +00:00
Ondřej Kuzník
dfbeb82442 Pass correct credentials in slapd-bind 2018-10-31 18:23:40 +00:00
Ondřej Kuzník
f5bef58cae Use LDIF API in slapd-addel 2018-10-31 18:14:52 +00:00
Ondřej Kuzník
3ab98b2fc9 Update keys to RSA 4096 2018-10-30 15:42:35 +00:00
Ondřej Kuzník
64cef0f985 Let autoca tests pass on Debian (using IP, not 'localhost') 2018-10-18 10:41:43 +01:00
Howard Chu
1e30640037 ITS#8923 fix dyngroup NO_SUCH_OBJECT error handling 2018-10-03 21:58:32 +01:00
Quanah Gibson-Mount
e56964c734 Update test044 to catch ITS#8923 2018-10-03 20:28:54 +00:00
Quanah Gibson-Mount
603a92b5eb ITS#8663 - Regression test
Adds a regression test for 8663 that checks that it is possible to
modify all the cn=config related memberOf overlay settings.
2018-07-09 20:03:36 +00:00
Quanah Gibson-Mount
fee34e098c ITS#8616 - Regression test
Add a regression test for ITS#8616 that verifies the ability to change
the values for olcSpNoPresent and olcSpReloadHint
2018-07-03 21:49:52 +00:00
Ondřej Kuzník
465b1c5972 ITS#8573 Add missing URI variables for tests 2018-06-22 14:46:47 +01:00
Quanah Gibson-Mount
eb087e0861 ITS#8573 TLS option test suite 2018-06-14 16:19:10 +01:00
Ryan Tandy
dc4a6f7e90 Fix copypasta in its8444 regression script 2018-05-17 20:59:44 -07:00
Quanah Gibson-Mount
59e9ff6243 Happy New Year 2018-03-22 15:35:24 +00:00
Quanah Gibson-Mount
22cc51d061 ITS#8800 -- Ensure there are no differences due to different checkpoints
being logged to the underlying DB's contextCSN.
2018-02-28 23:54:20 +00:00
Quanah Gibson-Mount
d5170d5f6e ITS#8800 -- Fix database name 2018-02-13 02:57:26 +00:00
Quanah Gibson-Mount
d11ae735de ITS#8800 -- Remove bash requirement 2018-02-13 01:42:35 +00:00
Quanah Gibson-Mount
626d7e6db5 Wait for slapd to stop before proceeding. Otherwise this test may fail.
Fix variable usage so it doesn't delete data/slapd.conf after running
2018-02-13 00:34:09 +00:00
Quanah Gibson-Mount
f535d06d07 ITS#4336 - Fix regression test to be valid 2018-02-12 23:50:17 +00:00
Quanah Gibson-Mount
302af6a0e7 ITS#4326 - Fix regression test so it operates correctly 2018-02-12 23:48:05 +00:00
Quanah Gibson-Mount
30aeae0b94 Regression test for ITS8800 2018-02-09 18:23:19 +00:00
Ondřej Kuzník
45258f272c ITS#8798 Fix swapped arguments 2018-01-19 18:21:17 +00:00
Ondřej Kuzník
00c8d8b1fb ITS#8798 Do not insert delays on a successful bind 2018-01-19 17:33:33 +00:00
Ondřej Kuzník
28871cb07f ITS#8798 Add SASL support to slapd-* tester tools 2018-01-16 15:36:41 +00:00
Ondřej Kuzník
1e8ab5de66 ITS#8798 Enable retry/delay in slapd-bind 2018-01-16 15:36:05 +00:00
Ondřej Kuzník
412479e6fe ITS#8798 Unify slapd-* tools setup 2018-01-16 15:35:55 +00:00
Quanah Gibson-Mount
311bc0052c ITS#8752 - Add echo statements about the purpose of the test and a
warning that it may take manual intervention to exit if a deadlock
occurs
2017-10-17 09:47:02 -07:00
Quanah Gibson-Mount
d7b2c76831 Update script that does random modifications on random masters. Better
reproduces the problem.
2017-10-12 13:42:37 -07:00
Josh Soref
10566c8be3 ITS#8605 - spelling fixes
* javascript
* kernel
* ldap
* length
* macros
* maintained
* manager
* matching
* maximum
* mechanism
* memory
* method
* mimic
* minimum
* modifiable
* modifiers
* modifying
* multiple
* necessary
* normalized
* objectclass
* occurrence
* occurring
* offered
* operation
* original
* overridden
* parameter
* permanent
* preemptively
* printable
* protocol
* provider
* really
* redistribution
* referenced
* refresh
* regardless
* registered
* request
* reserved
* resource
* response
* sanity
* separated
* setconcurrency
* should
* specially
* specifies
* structure
* structures
* subordinates
* substitution
* succeed
* successful
* successfully
* sudoers
* sufficient
* superiors
* supported
* synchronization
* terminated
* they're
* through
* traffic
* transparent
* unsigned
* unsupported
* version
* absence
* achieves
* adamson
* additional
* address
* against
* appropriate
* architecture
* associated
* async
* attribute
* authentication
* authorized
* auxiliary
* available
* begin
* beginning
* buffered
* canonical
* certificate
* charray
* check
* class
* compatibility
* compilation
* component
* configurable
* configuration
* configure
* conjunction
* constraints
* constructor
* contained
* containing
* continued
* control
* convenience
* correspond
* credentials
* cyrillic
* database
* definitions
* deloldrdn
* dereferencing
* destroy
* distinguish
* documentation
* emmanuel
* enabled
* entry
* enumerated
* everything
* exhaustive
* existence
* existing
* explicitly
* extract
* fallthru
* fashion
* february
* finally
* function
* generically
* groupname
* happened
* implementation
* including
* initialization
* initializes
* insensitive
* instantiated
* instantiation
* integral
* internal
* iterate
2017-10-11 14:39:38 -07:00
Ondřej Kuzník
5e531214b5 ITS#8291 Enable slapmodify logging in tests 2017-10-11 14:32:04 -07:00
sca+openldap@andreasschulze.de
90835da72f ITS#8578 - remove unused-variables in RE24 testing call (2.4.45) 2017-10-06 10:45:08 -07:00
Ondřej Kuzník
08492987a0 ITS#7100 Update entryTtl behaviour to match RFC 2589 2017-10-06 10:43:48 -07:00
Ondřej Kuzník
61cfb80f8d ITS#7100 Test for entryTtl reflecting time to live 2017-10-06 10:40:20 -07:00
Quanah Gibson-Mount
78626aeb4a Fix script so it exits 2017-10-05 09:23:02 -07:00
Quanah Gibson-Mount
ae2a2a794b ITS#8444 - Fix description to match the actual issue that was fixed 2017-10-04 20:42:54 -07:00
Quanah Gibson-Mount
53a41a22da ITS#8752 - Add regression test 2017-10-04 20:36:25 -07:00
Quanah Gibson-Mount
b6df3cef07 Fix missing index on reqResult 2017-06-23 09:44:46 -07:00
Quanah Gibson-Mount
f136773413 ITS#8667 - Add regression test 2017-06-07 11:11:43 -07:00
Ryan Tandy
9e657b7676 ITS#8644 fix previous commit: initialize KILLPIDS 2017-04-25 01:53:56 +00:00
Ryan Tandy
b622163ecf ITS#8644 wait for slapd to start in test064 2017-04-25 01:37:18 +00:00
Quanah Gibson-Mount
626ba7eca7 Fix 9bafb16e1b - autoca support 2017-04-18 08:22:56 -07:00
Howard Chu
44a3653d90 Cleanup test066 comments 2017-04-09 21:37:55 +01:00
Howard Chu
9bafb16e1b Add autoca test script 2017-04-09 20:33:50 +01:00
Ondřej Kuzník
ec5af7b5e7 ITS#6545 Update accesslog format and syncrepl consumer
Make two successive modifications of the same attribute separate. This
lets the consumer interpret the log entry the same way as the server
that produced it.

Still depends on the log entry attributes being read in the same order
as they were written.
2017-04-07 14:39:07 -07:00
Ondřej Kuzník
46c85a32ae ITS#8266 Allow empty mods 2017-03-30 15:27:45 -07:00
Quanah Gibson-Mount
2c84446240 ITS#8587 - Fix typos 2017-03-29 10:44:55 -07:00
Quanah Gibson-Mount
ef60799568 ITS8589 - This modifies the test so that it will not trigger the issue described in the ITS. 2017-02-21 16:02:17 -08:00
Quanah Gibson-Mount
5c21726f62 Correctly exit if the backend is back-ldap 2017-02-03 14:30:30 -08:00
Quanah Gibson-Mount
48ec8223da Fix comparison error 2017-01-31 16:17:02 -08:00
Quanah Gibson-Mount
0cdb8eac65 Ensure BCMD is always defined 2017-01-24 09:14:11 -08:00
Quanah Gibson-Mount
ed67842691 Fix regression test suite logic 2017-01-20 11:41:47 -08:00
Quanah Gibson-Mount
5497a7df8b Fix typo 2017-01-19 17:03:54 -08:00
Quanah Gibson-Mount
c9e7284d26 Remove bashism 2017-01-19 10:57:06 -08:00
Quanah Gibson-Mount
36eaaae414 use /bin/bash because dash 2017-01-18 12:43:45 -08:00
Emmanuel Lecharny
5ce8ef8ad7 ITS#8571 Added testsuite to cover the proxyauthz configuration for proxycache and back-ldap 2017-01-18 09:47:22 -08:00
Quanah Gibson-Mount
0e418d8e77 Checkpoint for ITS8444 work. Need to improve failure scenario, as this can take 250+ iterations to trigger 2017-01-10 11:30:15 -08:00
Quanah Gibson-Mount
1df85d3427 Happy New Year! 2017-01-03 12:36:47 -08:00
Quanah Gibson-Mount
ccce2cfe31 Delete extraneous line 2016-12-29 14:04:08 -08:00
Quanah Gibson-Mount
09ae5524da Fix "make its"/"make regressions" to actually run the regression suite for bdb/hdb/mdb backends 2016-12-12 12:22:40 -08:00
Quanah Gibson-Mount
6baa23f072 Modify run.in so that it can run individual regression tests 2016-12-12 11:53:14 -08:00
Quanah Gibson-Mount
86df7d3bc3 Specifically test for error 32 on the consumer. 2016-12-09 12:46:31 +00:00
Quanah Gibson-Mount
64bd9f6abc Fix rootdn 2016-12-09 12:46:15 +00:00
Quanah Gibson-Mount
2130acfaef ITS#8521 - Updates to test to ensure it fails where it should fail and succeeds where it should succeed.
Reference ITS#8281 as well, since these are related
2016-12-02 13:16:52 -08:00
Quanah Gibson-Mount
8788c52ccf ITS#8521 - Add testcase for this regression 2016-12-01 12:26:08 -08:00
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