]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test010-passwd
more tests
[openldap] / tests / scripts / test010-passwd
index d74140a0baf96c4ddde93fa783476b6276c474c8..636d0cece464fa8ec3587c02e514a5f44e35689b 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2003 The OpenLDAP Foundation.
+## Copyright 1998-2005 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -139,6 +139,15 @@ if test $RC != 0 ; then
        exit $RC
 fi
 
+echo "Logging end state with ldapsearch..."
+echo "" >> $TESTOUT
+echo "++ Initial search" >> $TESTOUT
+$LDAPSEARCH -h $LOCALHOST -p $PORT1 \
+       -D "$MANAGERDN" -w $PASSWD \
+       -b "$BASEDN" \
+       'objectclass=*' >> $TESTOUT 2>&1
+
+
 test $KILLSERVERS != no && kill -HUP $KILLPIDS
 
 echo ">>>>> Test succeeded"