Commit Graph

50 Commits

Author SHA1 Message Date
Pierangelo Masarati
484ca8db59 only the right error is acceptable 2006-04-25 21:11:17 +00:00
Howard Chu
604f7fb9db Use shell "wait" instead of fixed 10 second wait-for-things-to-die 2006-01-11 05:25:09 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Howard Chu
572ca2db94 Tweak slapd startup delays 2005-09-30 07:32:49 +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
Howard Chu
2918d4498f Fix syntax of modrdn/ bad newsuperior test 2005-09-10 01:52:27 +00:00
Howard Chu
5972221836 Fix non-portable test comparison 2005-04-29 00:50:36 +00:00
Howard Chu
09ae896b28 ITS#3657 add test with newSuperior as child of target entry 2005-04-15 04:46:01 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Kurt Zeilenga
53a45a04fe Removing University of Michigan from installation test suite (ITS#3107)
from Paul Turgyan of University of Michigan.
2004-04-21 22:14:01 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
6680465d02 notices 2003-11-28 20:00:23 +00:00
Kurt Zeilenga
e0df7582b8 Rework test scripts to use single 'testrun' directory.
Split glue test in two.
Remove (slurpd) subtree replication test.
Reorder syncrepl/proxy tests
2003-10-22 05:14:08 +00:00
Kurt Zeilenga
b8ff29abfd Rework test suite to use run script.
A little rough around the edges still.
2003-10-21 03:08:08 +00:00
Howard Chu
86a90cd8d1 Add args to accomodate OS/390 shell bug 2003-06-04 12:06:46 +00:00
Howard Chu
2ce5398ec4 ITS#2401 support tests for dynamically loaded backends 2003-04-30 03:04:18 +00:00
Howard Chu
f22855e6be Fix slapd startup ldapsearch loop 2002-09-01 11:39:08 +00:00
Kurt Zeilenga
1990cad7c3 Add monitor test.
Need to hide cn=Monitor from namingContext
2002-06-19 06:00:48 +00:00
Howard Chu
a00cb8f614 Fix return code tests. 2002-05-17 09:11:30 +00:00
Howard Chu
671e92098a Fix success test on last comparison 2002-05-17 08:24:53 +00:00
Kurt Zeilenga
3770a99178 set hostname via a variable, may need tweaking in some environments 2002-01-21 06:35:04 +00:00
Kurt Zeilenga
94193358b4 Switch the default backend to BDB. 2002-01-15 17:26:44 +00:00
Kurt Zeilenga
2f80480ef0 Tru64 diff does support "diff foo /dev/null",
replace with "diff foo - < /dev/null"
2001-10-02 08:27:18 +00:00
Howard Chu
4eaad48247 Added optional 3rd parameter, to make the script display the slapd pid
and wait. User must hit <NewLine> to continue. This gives the opportunity
to attach a debugger to the slapd before proceeding with the test.
2001-09-22 05:34:22 +00:00
Kurt Zeilenga
b8091cee87 Hack test environment to support multiple backends using
one set of slapd.conf files.
2000-10-01 22:46:52 +00:00
Kurt Zeilenga
c1aeb0b9ed Use ordered input to slapadd(8) as required by back-bdb 2000-09-26 20:28:55 +00:00
Kurt Zeilenga
a73b210d5f Rename LDIF2LDBM to SLAPADD 2000-07-26 18:13:38 +00:00
Kurt Zeilenga
d76bbdab91 Replace diff -q with diff >/dev/null for portability reasons 2000-07-20 02:23:00 +00:00
Kurt Zeilenga
20e6dcec3b Improved but still broken client tools. 2000-07-04 21:49:00 +00:00
Kurt Zeilenga
d0afc90110 Use $CMP, not cmp 2000-05-28 19:53:37 +00:00
Kurt Zeilenga
570204c9e2 s/cmp/$CMP/ define CMP to cmp (to allow cmp replacements)
Add -n option to slapd
2000-05-27 17:16:10 +00:00
Kurt Zeilenga
7c28aa058c Add password check and generation check.
Modify tests to use -h "ldap://localhost:port/" instead of -p port.
1999-12-12 18:45:06 +00:00
Kurt Zeilenga
41e57c041f Add OpenLDAP RCS id 1999-09-02 00:52:43 +00:00
Kurt Zeilenga
68744ced8d fix dn2id delete bug... breaks modrdn. 1999-08-26 00:51:27 +00:00
Kurt Zeilenga
05532e03f9 Update test005-modrdn to handle success without entries 1999-08-26 00:22:05 +00:00
Kurt Zeilenga
59d3e50ae3 s/ldif2ldbm/slapadd/ 1999-08-22 17:10:23 +00:00
Kurt Zeilenga
e4f6d54877 New dn2id format with base/one/subtree indices (ldbm/bdb2)
New id2entry (id-less) format (ldbm/bdb2)
Removed id2children (ldbm/bdb2)
Added nextid database (ldbm)
Broke ldbmtest
Removed ldif2* tools (ldbm/bdb2)
Added slap tools (slapadd, slapcat, slapindex)
1999-08-17 19:00:59 +00:00
Kurt Zeilenga
b73b0c6158 Enhance LDIF handling
ldapsearch:
    use draft guidelines for determining when to use
    -t only writes binary attributes to files
    -tt writes all attributes to files
    output now lists URL instead of path to such files
    -T dir can be used to specify directory to create temp files in
    -V urlprefix can be used to change the URL prefix
    LDIF is now commented (can be disabled using -LL)
    LDIF now contains version attribute (can be disabled with -LLL)
LDIF:
    put interface changed to allow caller to specify how to encode
    put interface uses draft guidelines for determine when to base64 encode
    wrapping kludged to match old off by one bug
Tests:
    removed trailing space from some attributes (to avoid base64 encoding)
    enabled -LLL in defines.sh (should sed output to remove
        wrapping/comments/redundant separators)
Misc:
    updated codes outputting LDIF to use new put interface
TODO:
    handling of version attribute on input
    handling of URLs on input (ie: fetch URL)
1999-07-30 23:00:02 +00:00
Kurt Zeilenga
17a975b6fb Very crude LDIF changes:
add MODRDN newSuperior support
	add '#' support to ldapmodify (but not slurpd and ldbm tools)
1999-07-29 21:25:39 +00:00
Kurt Zeilenga
73276e84ae Import experimental referral implementation from OPENLDAP_DEVEL_REFERRALS.
Includes support for update referral for each replicated backend.
	Reworked replication test to use update referral.
Includes major rewrite of response encoding codes (result.c).
Includes reworked alias support and eliminates old suffix alias codes
(can be emulated using named alias).
Includes (untested) support for the Manage DSA IT control.
Works in LDAPv2 world.  Still testing in LDAPv3 world.
Added default referral (test009) test.
1999-07-16 02:45:46 +00:00
Juan Gomez
81f47aba80 Add special case tests to avoid regressions. 1999-05-27 00:56:43 +00:00
Juan Gomez
ae2fa90929 Add new output file name. 1999-05-27 00:31:30 +00:00
Kurt Zeilenga
7d2f6580c0 Filter timestamps, etc., from all test inputs before compare. 1999-05-21 16:50:51 +00:00
Kurt Zeilenga
2a92589ecd sh portability changes 1999-04-21 05:59:01 +00:00
Kurt Zeilenga
6585d34a0f 'make test' now tests both BDB2 and LDBM backends.
'make bdb2' tests only BDB2
'make ldbm' tests only LDBM
Fix up scripts (previous changes broke BDB2 testing)
1999-04-10 04:42:33 +00:00
Kurt Zeilenga
80b8691eac Fix VPATH support. 1999-04-08 02:18:54 +00:00
Juan Gomez
4be6bf9e9b Added tests for modrdn and the proper operation of the deleteoldrdn field. 1999-03-10 22:31:26 +00:00
Kurt Spanier
42f6e78dd4 Integration of the BDB2 backend into the new init/startup/shutdown schema.
Integration into ./configure ( --enable-bdb2 ).
Adaptation of the test-suite ( 'make' -> ldbm; 'make bdb2-local' -> bdb2 ).
Minor fixes in slapd/libldbm.
1999-02-08 11:42:14 +00:00
Kurt Zeilenga
334768c1bb Update build environment to fix VPATH support.
make depend, make tests, and make install all work when build directory
  is not the $srcdir.
Also modified library handling such that -lpthread more likely to be last.
WARNING: new orderring requires use of LDFLAGS to set global loader options
  such as -L/usr/local/lib.  If you put this in LIBS, some libraries
  may not be found a link time.
Likely broke Kerberos/LDAPD support.  Don't have those in my testbed.
1999-01-10 02:25:41 +00:00
Kurt Zeilenga
42e0d83cb3 Initial revision 1998-08-09 00:43:13 +00:00