Commit Graph

42 Commits

Author SHA1 Message Date
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +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
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
Howard Chu
a00cb8f614 Fix return code tests. 2002-05-17 09:11:30 +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
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
d76bbdab91 Replace diff -q with diff >/dev/null for portability reasons 2000-07-20 02:23:00 +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
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
Kurt Zeilenga
bf8eaf1f1e ldapmodify/add: Fix -P option
tests: use "ldapadd" instead of "ldapmodify -a"
1999-06-29 01:17:58 +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
21f49f3b27 Fix VPATH support. 1999-04-08 02:27:39 +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
2ec25ef881 Merged files from branch REGEX_REMOVAL. Despite name, this merge
adds POSIX RegEx (and removes BSD re_comp/re_exec) support.
* POSIX RegEx is not currently included in the distribution, however
	we will probably add Henry Spencer's REGEX library soon.
* ACL Group functionality is also included in this merge!
1998-08-21 06:33:42 +00:00
Kurt Zeilenga
ad8929fb47 Added filter to populate test 1998-08-19 01:29:52 +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