X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fscripts%2Ftest004-modify;h=bcf78dde4432c195ac2344fc250cda4248cea668;hb=1880c23029f01704a90e9ddd847b779b2f271edf;hp=42eac7b0988fb13c375a4bafe838701e62c023c4;hpb=db1dce650be827082d109beb4212c30768157dd3;p=openldap diff --git a/tests/scripts/test004-modify b/tests/scripts/test004-modify index 42eac7b098..bcf78dde44 100755 --- a/tests/scripts/test004-modify +++ b/tests/scripts/test004-modify @@ -5,7 +5,7 @@ SRCDIR="." if test $# -ge 1 ; then SRCDIR=$1; shift fi -BACKEND=ldbm +BACKEND=bdb if test $# -ge 1 ; then BACKEND=$1; shift fi @@ -43,7 +43,7 @@ fi echo "Testing slapd modify operations..." for i in 0 1 2 3 4 5; do - $LDAPSEARCH -s base -b "$MONITOR" -h localhost -p $PORT \ + $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT \ 'objectclass=*' > /dev/null 2>&1 RC=$? if test $RC = 1 ; then @@ -59,7 +59,7 @@ if test $RC != 0 ; then fi echo "Testing modify, add, and delete..." -$LDAPMODIFY -v -D "$MANAGERDN" -h localhost -p $PORT -w $PASSWD > \ +$LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT -w $PASSWD > \ $TESTOUT 2>&1 << EOMODS version: 1 @@ -102,10 +102,10 @@ dn: cn=Gern Jensen,ou=Information Technology Division,ou=People,o=University of changetype: add objectclass: top objectclass: person -objectclass: organizationalPerson -objectclass: newPilotPerson +objectclass: OpenLDAPperson cn: Gern Jensen sn: Jensen +uid: gjensen title: Chief Investigator, ITD postaladdress: ITD $ 535 W. William St $ Ann Arbor, MI 48103 seealso: cn=All Staff,ou=Groups,o=University of Michigan,c=US @@ -131,7 +131,7 @@ if test $RC != 0 ; then fi echo "Using ldapsearch to retrieve all the entries..." -$LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $PORT \ +$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT \ 'objectClass=*' > $SEARCHOUT 2>&1 RC=$? kill -HUP $PID