Commit Graph

1474 Commits

Author SHA1 Message Date
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
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