Commit graph

1595 commits

Author SHA1 Message Date
Howard Chu
a359cccbde ITS#10000 slapd-watcher: plug potential leak 2023-02-17 15:52:35 +00:00
Howard Chu
5e15ce57a9 ITS#9999 slapd-search: plug potential leak 2023-02-17 15:52:35 +00:00
Howard Chu
17359b7463 ITS#9998 slapd-mtread: plug potential leak 2023-02-17 15:52:35 +00:00
Quanah Gibson-Mount
b220ba1077 ITS#9718 - Fix nonportable sed usage 2023-01-30 22:06:06 +00:00
Дилян Палаузов
08e1e2c66c typo unsuccesSful, presense/presence, accessSlog 2023-01-09 17:46:36 +00:00
Howard Chu
9d53f7ccbc ITS#9929 preserve e_name for memberOf values 2022-12-01 15:39:03 +00:00
Howard Chu
cc79020b42 ITS#9929: more performance tweaks
For simple (non-nested) member compares, avoid unnecessary fetches
of dyngroups that can't match the filter.
cache filter/entry instance info across multiple dyn entries to
avoid refetching each filter entry for each dyngruop test.
2022-12-01 15:39:03 +00:00
Howard Chu
d337ae751f ITS#9929 slapo-dynlist: more performance tweaks
Minimize cost of dynamic lists while still making them filterable:
require their attrs to be explicitly mapped if filtering is to be supported.

Also check config scope in compare op
2022-12-01 15:39:03 +00:00
Ondřej Kuzník
37b2b1ed6d ITS#9598 Do not track olcIncomingConnections in lloadd/test007
Some values we export in cn=monitor are not managed in a single place,
instead, a task exists that gathers a snapshot of the lloadd state and
stores it for monitor consumption. This exposes a race between the test
reading it out and lloadd updating this cached copy. While we still have
to rely on a shell, rather than being intelligent about whether or not
we should emit a readout into search.out or wait and try again (which is
what test004-monitor does), just filter this attribute out.
2022-10-31 16:44:01 +00:00
Howard Chu
572a9a1597 ITS#9931 test scripts: fix BSD vs GNU date syntax 2022-10-11 17:03:34 +01:00
Howard Chu
fb1c0d6214 ITS#9926 test085 additional fix
Git doesn't recreate empty directories, make it explicitly
2022-10-11 15:25:29 +01:00
Howard Chu
5082754f59 ITS#9931 test082 fix sed portability 2022-10-11 15:21:43 +01:00
Howard Chu
62f52807e2 ITS#9931 test scripts: fix BSD vs GNU date syntax 2022-10-11 15:14:54 +01:00
Howard Chu
a858f892b3 ITS#9931 test079: fix ldapsearch invocations 2022-10-11 14:06:46 +01:00
Howard Chu
0b14cb97a6 ITS#9926 drop symlinks from homedir testdata
Create them when running the test script instead.
2022-10-06 15:32:39 +00:00
Ondřej Kuzník
60518dbae0 ITS#9437 Create testdir before we need it 2022-09-01 11:13:37 +01:00
Ondřej Kuzník
9c1b67fe60 ITS#9908 slapd-tester: plug LDAP* leak on bind retries 2022-09-01 10:09:27 +01:00
Howard Chu
21abafcc9d ITS#9898 tests: fix slapd-addel non-std syntax
Broken in f5bef58cae
2022-08-22 16:44:05 +00:00
Quanah Gibson-Mount
cfa6c07c0e ITS#9863 - Regression test case for pwdLastSuccess
Define a regression test case for modifying pwdLastSuccess that also
uses SASL/EXTERNAL for the chain database
2022-07-06 20:46:49 +00:00
Nadezhda Ivanova
5ef2b93119 ITS#9855 Change tests/run so it can be used by a contrib module 2022-07-06 18:29:26 +03:00
Quanah Gibson-Mount
b9173d3031 ITS#9468 - Fix script logic
Fix missing addition of SERVERPID to KILLPIDS so that a slapd process
doesn't get left behind in some instances
2022-06-30 20:24:50 +00:00
Dimitar Stoychev
69de6c94cd ITS#9823 Update test043 to check deltasync recovery after accesslog has been purged 2022-06-21 16:21:56 +00:00
Ondřej Kuzník
bb87cc89cd ITS#9817 Fix test087 set up 2022-06-17 12:25:28 +01:00
Howard Chu
c076859e08 ITS#9865 slapd-watcher: add -c contextDN option 2022-06-16 16:15:56 +01:00
HAMANO Tsukasa
8bc0f75093 ITS#9859 specifiy modulepath and moduleload for tests
moduleload ../rel/mod.la works on build directry ex: make test
but it doesn't work with installed slapd.
It should be specified the modulepath and moduleload separately like other tests.
2022-06-09 14:22:28 +00:00
HAMANO Tsukasa
b9347719b5 ITS#9859 skip test020-proxycache for back-wt 2022-06-09 14:22:28 +00:00
Ondřej Kuzník
56877e333b ITS#9817 Introduce DN and filter manipulation tools 2022-06-07 09:47:41 +01:00
Howard Chu
164c15d7ca ITS#9850 slapd-watcher: don't ignore sids when only 1 URL was specified 2022-05-21 16:34:44 +01:00
Ondřej Kuzník
cda12cd42e ITS#9848 Fix test022 when not running chaining part of the test 2022-05-16 17:33:50 +01:00
Yi Zhao
d7c0417bcf ITS#9840 - ldif-filter: fix parallel build failure
Add slapd-common.o as dependency for ldif-filter to fix the parallel
build failure:
  ld: cannot find slapd-common.o: No such file or directory

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2022-05-09 16:48:25 +00:00
Howard Chu
7419950aa3 ITS#9825 dynlist: add test case 2022-04-22 15:39:46 +00:00
Ondřej Kuzník
2bb3661c04 Log test timing information 2022-04-12 16:53:52 +00:00
Ondřej Kuzník
f7bdf7aaf4 ITS#9818 Duplicate substring filters correctly 2022-04-11 16:57:59 +01:00
Ondřej Kuzník
646d0c1ba2 ITS#9497 Detect timing issues when they affect test 2022-03-07 14:54:39 +00:00
Ondřej Kuzník
fbfb5454cd ITS#9343 Allow Compare to check pwdPolicySubentry 2022-03-07 14:54:39 +00:00
Ondřej Kuzník
950ff8a5f0 ITS#9343 Allow a list of default policies 2022-03-07 14:54:39 +00:00
Howard Chu
efb0597536 ITS#9779 add test for negated filtered memberof 2022-01-18 15:11:28 +00:00
Ondřej Kuzník
74ed5163ed ITS#9751 Add test for MOD_DELETE resolution 2022-01-10 18:44:28 +00:00
Quanah Gibson-Mount
788e9592ba Happy New Year! 2022-01-07 18:40:00 +00:00
Ondřej Kuzník
a8467b8b15 ITS#9761 Fix olcSyncrepl position based insertion 2022-01-04 17:53:26 +00:00
Ondřej Kuzník
fbd4f9abdd ITS#9556 Send INVALID_SYNTAX for invalid schema elements 2021-12-15 18:39:46 +00:00
Ondřej Kuzník
40ef1b963c ITS#9596 First take on Python test suite 2021-12-14 16:30:54 +00:00
Ondřej Kuzník
2029248abb ITS#9596 Introduce mod_harness module 2021-12-14 16:30:54 +00:00
Howard Chu
bc659074ee ITS#9747 dynlist: fix Compare for static groups
Fallback to static check if static groups are configured and
dynamic group check returns false.
2021-11-15 17:36:40 +00:00
Howard Chu
cc876a2133 ITS#9727 slapd-watcher: don't fail startup on bad URLs
Just assume the server will eventually come up, or if it's an
incorrect URL the user will eventually notice and fix it.
2021-11-01 19:51:29 +00:00
Howard Chu
f07f8c20f5 ITS#9718 test022: preserve DELAY search output
Save a copy in $SEARCHOUT or test.out so it can be examined in
case the test fails.
2021-11-01 17:15:05 +00:00
Ondřej Kuzník
77dfb204c1 ITS#9671 Revert some NO-USER-MODIFICATION flags in ppolicy 2021-09-16 16:18:17 +00:00
Quanah Gibson-Mount
e17509d74f ITS#9464 - memberof is still used in the regression suite 2021-09-14 20:33:07 +00:00
Howard Chu
28b67541a2 ITS#9633 fix test030 - turn off referral chasing in back-ldap 2021-09-08 14:43:36 +00:00
Howard Chu
51eb703f7f ITS#9632 add TESTINST for running tests concurrently
Also add partests Makefile target to run tests in parallel
2021-09-08 14:43:36 +00:00