]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test022-ppolicy
Add missing 'kill -HUP $KILLPIDS' statement before an exit.
[openldap] / tests / scripts / test022-ppolicy
index f78e257cd1b9af20caf483e5fd115a18ac43040c..04109034e369287886c7f6297922d0d731bb3d94 100755 (executable)
@@ -48,13 +48,14 @@ for i in 0 1 2 3 4 5; do
        sleep 5
 done
 if test $RC != 0 ; then
-       echo "ldapsearch failed $(RC)!"
+       echo "ldapsearch failed ($RC)!"
        test $KILLSERVERS != no && kill -HUP $KILLPIDS
        exit $RC
 fi
 
 echo "Using ldapadd to populate the database..."
-$LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD -e manageDIT < \
+# may need -e manageDIT for draft 09, but not yet.
+$LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \
        $LDIFPPOLICY > $TESTOUT 2>&1
 RC=$?
 if test $RC != 0 ; then