Commit Graph

571 Commits

Author SHA1 Message Date
Kurt Zeilenga
bf987dc8fb Check return of ldapadd(1) 2005-12-20 21:54:47 +00:00
Pierangelo Masarati
ed05c70208 add regression testing infrastructure 2005-12-20 19:46:07 +00:00
Pierangelo Masarati
3517bdf260 revert previous commit(s); clarify usage of "-s" in slapd(8). 2005-12-20 08:20:16 +00:00
Pierangelo Masarati
6650f07f50 allow (and use) symbolic names for syslog levels 2005-12-19 22:55:30 +00:00
Pierangelo Masarati
d572ba8aa6 fix ITS#4141 (better fix: split into 3 slapd; but it all makes little sense without threads...) 2005-12-16 16:38:15 +00:00
Pierangelo Masarati
1bfd1c7e3f further improve test 2005-12-16 16:21:41 +00:00
Pierangelo Masarati
941d418b33 take care of the (yet unpublished) evolution of <draft-zeilenga-ldap-assert> 2005-12-16 15:00:05 +00:00
Pierangelo Masarati
d71bef1a47 fix a couple of error messages; only test bdb & hdb 2005-12-16 14:36:09 +00:00
Pierangelo Masarati
79cc85f354 rework test setup; seems to fix ITS#4264 (see link inside) 2005-12-16 14:12:55 +00:00
Pierangelo Masarati
74948b9b04 save output across searches 2005-12-16 12:19:53 +00:00
Pierangelo Masarati
df20af5c87 save all intermediate searches to help debugging 2005-12-15 21:43:46 +00:00
Pierangelo Masarati
9cd9638d89 cleanup SLEEPs 2005-12-15 19:13:05 +00:00
Pierangelo Masarati
41ae4ec095 works with "restrict all": in principle, this slapd should be started without any listener, if possible... 2005-12-15 18:07:15 +00:00
Pierangelo Masarati
5395a94432 everything works without any need for changes in syncrepl code; only modifications when the remote consumer is down fail, but I'll track that later (back to work...) 2005-12-15 17:34:43 +00:00
Pierangelo Masarati
d270cd7eee (almost) ok; issues:
1) no full delete of an attribute;
	2) errors occurring when the remote consumer is off
	   are not recovered:
	3) I'm not too happy with running the internal search
	   with the syncrepl attrlist
2005-12-15 16:32:26 +00:00
Pierangelo Masarati
96cd831f8a getting closer... now there are issues with non-requested operational attrs 2005-12-15 13:46:54 +00:00
Pierangelo Masarati
6e0bceaeb2 test sync replication by ay of a proxy 2005-12-15 11:35:46 +00:00
Pierangelo Masarati
d5b9945700 fix timings and retry between syncrepl and server startup 2005-12-15 10:14:39 +00:00
Pierangelo Masarati
85f42f5324 fix previous commit 2005-12-12 10:31:46 +00:00
Pierangelo Masarati
e113e18bb6 more about sizelimit disclose issue in back-meta (ITS#4213) 2005-12-11 23:39:09 +00:00
Pierangelo Masarati
56258f75db more on ITS#4253 2005-12-10 10:23:01 +00:00
Pierangelo Masarati
df479246f6 improve previous commit 2005-12-09 12:22:10 +00:00
Pierangelo Masarati
33cccee62a test attrval.{exact,regex} (related to ITS#4253) 2005-12-09 12:18:29 +00:00
Pierangelo Masarati
7841f4f538 complete merging of dyngroup into dynlist; add back-config support 2005-11-29 02:10:47 +00:00
Pierangelo Masarati
26d802ee53 add dyngroup compare functionality to dynlist 2005-11-28 11:34:46 +00:00
Pierangelo Masarati
02fbe44e79 add regression for ITS#4212 2005-11-25 02:07:31 +00:00
Pierangelo Masarati
9a47e3c81a use lutil_ato*() whenever appropriate 2005-11-24 01:44:29 +00:00
Pierangelo Masarati
20fd7bf0bb I cooked the shell var, but I forgot to test it... (ITS#4208) 2005-11-23 23:34:06 +00:00
Pierangelo Masarati
3aeade3bd2 fix return attributes (ITS#4203) 2005-11-23 10:47:27 +00:00
Pierangelo Masarati
990b435ce0 fix return attributes (ITS#4203) 2005-11-23 10:04:33 +00:00
Pierangelo Masarati
e72b4ecf52 save logs of first part of test 2005-11-22 20:37:58 +00:00
Pierangelo Masarati
b9bb1cd66a add dynlist testing... 2005-11-22 18:50:39 +00:00
Pierangelo Masarati
218004aa4b don't return matchedDN in the case described in ITS#4195 2005-11-22 11:19:21 +00:00
Howard Chu
70c70a4e81 Overlay creates log suffix entry automatically 2005-11-21 05:45:25 +00:00
Pierangelo Masarati
22b6248c8d fix library checks; implement client side of "touch" modify (ITS#4183) 2005-11-20 14:25:52 +00:00
Pierangelo Masarati
ad93816107 fix size limit count (ITS#4181) 2005-11-17 19:00:58 +00:00
Pierangelo Masarati
917b77fff1 fix matched handling of slapd-ldap/slapo-chain (ITS#4176) 2005-11-16 14:17:19 +00:00
Pierangelo Masarati
56ee85695d reset debugging in tools 2005-11-09 13:04:22 +00:00
Pierangelo Masarati
f0dac82597 allow per-target retry in searches (ITS#4150) 2005-11-05 14:45:38 +00:00
Pierangelo Masarati
e2a172067f allow a friendly behavior when stress testing proxies 2005-11-04 16:30:43 +00:00
Kurt Zeilenga
a4ef4b0e06 Add test case for ITS#4100
Could not duplicate problem using correct form:
	delete: userCertificate;binary
Improper form
	delete: userCertificate
produces error as expected.
2005-11-03 22:49:03 +00:00
Pierangelo Masarati
31b5ff3661 fix message 2005-11-03 14:20:08 +00:00
Kurt Zeilenga
9bebea7e1b cleanup 2005-11-01 19:59:23 +00:00
Pierangelo Masarati
e60d7c7f24 fix incorrect bind error (ITS#4129) 2005-11-01 09:47:30 +00:00
Howard Chu
1770f23b85 Add delta syncrepl test 2005-10-15 06:16:01 +00:00
Howard Chu
b2b293eeda Revert prev commit, let the test run. It usually passes, will need to
track down the infinite loop problem at some point. Probably not backend
dependent.
2005-10-14 04:35:49 +00:00
Howard Chu
0dfc478cdf This test uses syncrepl persist, but ldbm doesn't support that. Exclude it. 2005-10-14 00:10:36 +00:00
Pierangelo Masarati
a9baa69375 ldapmodify doesn't return an LDAP error code 2005-10-05 01:22:26 +00:00
Pierangelo Masarati
b30fc9f571 allow writable dirs to be user-relocated 2005-10-01 18:01:27 +00:00
Howard Chu
572ca2db94 Tweak slapd startup delays 2005-09-30 07:32:49 +00:00
Hallvard Furuseth
33d18bc93d Use $CONFFILTER. Parametrize testrun directory. 2005-09-29 23:30:54 +00:00
Hallvard Furuseth
bc729ea9ba Minor cleanup to match the other tests:
Always mkdir $TESTDIR when making subdirs, and always use mkdir -p anyway.
Add or modify "test skipped" messages.
'exit 0' instead of 'exit'.
2005-09-29 22:26:43 +00:00
Hallvard Furuseth
0d360951d0 Exit with nonzero instead of $RC when $RC is 0 and should not be 2005-09-29 22:12:29 +00:00
Kurt Zeilenga
9449c5709e ITS#4021: add new {CLEARTEXT} kludge as bv_len=0 kludge no
longer works well.
2005-09-29 20:30:09 +00:00
Kurt Zeilenga
68ae7408dc ITS#4049: oldPassword cannot be ignored, error for now
Add tests to confirm proper behavior
2005-09-29 08:00:33 +00:00
Pierangelo Masarati
96e2da71a0 parametrize all directories 2005-09-28 23:38:15 +00:00
Howard Chu
094f8f645d ITS#4045 fix ldapsearch checks 2005-09-28 16:56:24 +00:00
Hallvard Furuseth
a88f0c5461 Fix typos in error messages 2005-09-27 20:10:12 +00:00
Hallvard Furuseth
737562a20b Add missing 'kill -HUP $KILLPIDS' statement before an exit. 2005-09-26 15:28:11 +00:00
Hallvard Furuseth
1732b14755 Add missing 'kill -HUP $KILLPIDS' statements before exit.
Obey ./run -k ($KILLSERVERS = no).
2005-09-26 14:56:12 +00:00
Hallvard Furuseth
460687589a Delete pointless wait for (foreground) slapadd 2005-09-26 14:52:02 +00:00
Hallvard Furuseth
d10c999098 Fix typo "failed $(RC)" -> "failed ($RC)" 2005-09-26 14:50:15 +00:00
Hallvard Furuseth
a727de0367 Update passwd-search to use current defines.sh variables.
Obey $WAIT (run -w) and $KILLSERVERS (run -k).
Bugfix: Set $RC before using it.
Handle invocation both with and without ./run; unsure what was intended.
2005-09-26 07:45:19 +00:00
Hallvard Furuseth
ef7f08f914 Fix checks of exit values from ldapcompare 2005-09-26 05:15:06 +00:00
Hallvard Furuseth
262c8cd5b5 Remove variable AC_glue, set from the deleted configure variable BUILD_GLUE. 2005-09-26 05:04:07 +00:00
Kurt Zeilenga
cff4c03e9e some TESTDIR fixes 2005-09-21 02:40:09 +00:00
Hallvard Furuseth
ad2ec8effa More POSIX 1003.1-2001 support: Replace test -a with &&. Replace egrep
with $EGREP_CMD from configure.  (Renamed from configure's $EGREP just
in case egrep variants exist that use the EGREP environment variable.)
2005-09-17 22:44:03 +00:00
Hallvard Furuseth
023d510766 Support POSIX 1003.1-2001 without XSI extensions (ITS #2667):
Do not use test -a/-o.  Use shell features like &&, || or case...esac.
Use grep instead of egrep (but not the not-yet-portable Posix variant grep -E).
Based on a patch from Paul Eggert.
2005-09-17 22:22:15 +00:00
Howard Chu
2918d4498f Fix syntax of modrdn/ bad newsuperior test 2005-09-10 01:52:27 +00:00
Howard Chu
a6af143798 GLUE is not an overlay 2005-09-01 12:13:15 +00:00
Howard Chu
3033741b60 Glue is back in core, not an overlay 2005-09-01 11:49:40 +00:00
Pierangelo Masarati
c6ab2bd20d never exit 0 2005-08-30 11:58:17 +00:00
Pierangelo Masarati
f567219108 missing ;; 2005-08-30 11:34:25 +00:00
Howard Chu
11cb50bd95 Use LDIFFILTER to avoid Windows EOL issues on $CMP 2005-08-28 03:59:21 +00:00
Howard Chu
d7122627fa Leave pwdPolicySubEntry user-modifiable for now 2005-08-26 00:19:08 +00:00
Pierangelo Masarati
ea1d68e203 don't use -u: it's not portable (ITS#3969) 2005-08-25 20:05:51 +00:00
Howard Chu
27467a79e7 ITS#3968 Add tests for valsort overlay, with fixes. 2005-08-24 08:55:12 +00:00
Howard Chu
f15a0f1dea Need manageDIT to set pwdPolicySubentry now 2005-08-24 03:03:20 +00:00
Pierangelo Masarati
40c0d3bfa3 harmonize back-ldbm and back-bdb handling of searchBase disclose access; fixes ITS#3964, ITS#3963 still open 2005-08-23 17:38:50 +00:00
Pierangelo Masarati
3cb9d64de3 more tests 2005-08-22 18:10:23 +00:00
Pierangelo Masarati
9e9137cb74 add ACI test 2005-08-22 17:58:36 +00:00
Hallvard Furuseth
dfe5336e21 Fix typo "==" -> "=" in test 2005-08-22 08:10:03 +00:00
Hallvard Furuseth
657da89181 Support --disable-monitor: slapadd -b "" instead of -n 3. 2005-08-21 01:01:24 +00:00
Hallvard Furuseth
aefb0f3f05 Support --disable-monitor 2005-08-21 00:59:34 +00:00
Hallvard Furuseth
9fb32a65b3 Support --disable-monitor: Do not leave $MONMOD empty 2005-08-21 00:58:00 +00:00
Pierangelo Masarati
27267f0f78 add subtree rename test 2005-08-18 10:28:36 +00:00
Pierangelo Masarati
21fa587db3 improve manage test 2005-08-17 22:04:32 +00:00
Pierangelo Masarati
d8fbe2d32c regression for ITS#3506 2005-08-13 16:28:52 +00:00
Pierangelo Masarati
4e29de5ba6 fix previous commit 2005-08-07 21:03:38 +00:00
Pierangelo Masarati
76e5f02c0e add (optional) concurrency test for back-sql 2005-08-07 20:59:56 +00:00
Pierangelo Masarati
409bb53f82 improve previous commit 2005-08-07 11:48:45 +00:00
Pierangelo Masarati
a2b8670b92 improve previous commit 2005-08-07 11:44:57 +00:00
Pierangelo Masarati
e355c9ef86 detect if control is available (ITS#3898) 2005-08-07 09:59:25 +00:00
Pierangelo Masarati
cc6b90b452 disallow this test for backends that do not honor ACLs 2005-08-07 00:27:48 +00:00
Pierangelo Masarati
614fd279c7 fix ITS#3811 2005-08-06 22:03:45 +00:00
Pierangelo Masarati
6f3363f0d9 Under some circumstances, port 9010 is already in use and may cause problems to referrals whose server is supposed to be unavailable 2005-07-20 11:17:06 +00:00
Pierangelo Masarati
a1d407c3d2 add new glued ldap concurrency test 2005-07-03 23:29:10 +00:00
Pierangelo Masarati
2480ae2908 test sleeptime 2005-07-03 23:07:49 +00:00
Pierangelo Masarati
9b60480293 add support for retcode overlay (configure needs be regenerated) 2005-06-19 22:43:00 +00:00
Pierangelo Masarati
f86daac8c8 import retcode overlay 2005-06-19 22:39:44 +00:00