~tieto/+junk/openldap

« back to all changes in this revision

Viewing changes to tests/scripts/test046-dds

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-09-07 13:41:10 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090907134110-rsnlhy8b0r21p9bg
Tags: 2.4.18-0ubuntu1
* New upstream release: (LP: #419515):
  + pcache overlay supports disconnected mode.
* Fix nss overlay load (LP: #417163).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
# $OpenLDAP: pkg/ldap/tests/scripts/test046-dds,v 1.4.2.5 2009/01/22 00:01:20 kurt Exp $
 
2
# $OpenLDAP: pkg/ldap/tests/scripts/test046-dds,v 1.4.2.6 2009/08/13 00:47:41 quanah Exp $
3
3
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4
4
##
5
5
## Copyright 2005-2009 The OpenLDAP Foundation.
396
396
dn: $MEETINGDN
397
397
changetype: modify
398
398
add: member
399
 
member: $JAJDN
 
399
member: $JOHNDDN
400
400
EOMODS
401
401
RC=$?
402
402
if test $RC != 0 ; then
478
478
        exit $RC
479
479
fi
480
480
 
 
481
echo "Trying to refresh the meeting as $JAJDN (should fail)..."
 
482
$LDAPEXOP -D "$JAJDN" -w "jaj" -h $LOCALHOST -p $PORT1 \
 
483
        "refresh" "$MEETINGDN" "240" \
 
484
        >> $TESTOUT 2>&1
 
485
RC=$?
 
486
if test $RC = 0 ; then
 
487
        echo "ldapexop should have failed ($RC)!"
 
488
        test $KILLSERVERS != no && kill -HUP $KILLPIDS
 
489
        exit $RC
 
490
fi
 
491
 
481
492
echo "Trying to delete the meeting as $BABSDN (should fail)..."
482
493
$LDAPMODIFY -D "$BABSDN" -w bjensen -h $LOCALHOST -p $PORT1 \
483
494
        >> $TESTOUT 2>&1 << EOMODS