Commit Graph

43 Commits

Author SHA1 Message Date
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
Kurt Zeilenga
cff4c03e9e some TESTDIR fixes 2005-09-21 02:40:09 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +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
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
39bc94082a Fix minor error in error text handling
Fix invalid structural object class chains in test schema
2001-12-19 23:41:31 +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
1e562b0d1f Make it all work. 2000-07-16 00:14:08 +00:00
Kurt Zeilenga
daacf23672 Report return code on failure 2000-07-04 22:11:12 +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
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
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
Kurt Spanier
80400aba52 Fix ldbmcat crash problem: first use the key before deleting it! 1999-03-29 16:01:59 +00:00
Kurt Zeilenga
3550bc48c0 Add slapd -a address support. Allows you to bind to a specific
address.  Useful for running multiple servers in a virtual hosting
environment.
Modified test001-ldif2ldbm to verify this functionality.  Assumes
localhost is 127.0.0.1.
1999-03-17 03:56:25 +00:00
Kurt Spanier
548942edbe BugFix and selection in the test-suite of the bdb2 backend-specific
slapd server timing via a new slapd command line option '-t'.
1999-02-12 15:22:43 +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
19a17982c6 suffixes need to be stored in normalized uppercase format 1999-01-20 05:43:33 +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
d831315a26 Fixed various rm statements to use more common expression format.
Patch provided by dj@gregor.com.
1998-08-30 18:10:20 +00:00
Kurt Zeilenga
36445924b5 Create log files for slapd, sleep between tests to let things exit. 1998-08-14 23:59:42 +00:00
Kurt Zeilenga
f96fee80d3 Added better rm expressions. 1998-08-14 05:04:45 +00:00
Kurt Zeilenga
42e0d83cb3 Initial revision 1998-08-09 00:43:13 +00:00