]> git.sur5r.net Git - openldap/commitdiff
Revert last change
authorKurt Zeilenga <kurt@openldap.org>
Tue, 20 Dec 2005 21:58:56 +0000 (21:58 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 20 Dec 2005 21:58:56 +0000 (21:58 +0000)
Need to rework test to check expected results on a per request
basis.

tests/scripts/test026-dn

index 0dfb6fff701351921df4d107c0cd94cfd2e70af7..2bbeec105ff02e0c249cf2a97ea0dd2b3a505d2f 100755 (executable)
@@ -49,13 +49,7 @@ fi
 
 echo "Loading database..."
 $LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD -c -f $LDIFDN > \
-       /dev/null 2>&1
-RC=$?
-if test $RC != 0 ; then
-       echo "ldapadd failed ($RC)!"
-       test $KILLSERVERS != no && kill -HUP $KILLPIDS
-       exit $RC
-fi
+       $TESTOUT 2>&1
 
 echo "Searching database..."
 $LDAPSEARCH -b "$BASEDN" -h $LOCALHOST -p $PORT1 > $SEARCHOUT 2>&1