]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test010-passwd
ITS#3671 must release conn->c_mutex to allow blocked writers to exit
[openldap] / tests / scripts / test010-passwd
index 43ef80a4019198fbf27de3f044bc5e25a2e951bc..636d0cece464fa8ec3587c02e514a5f44e35689b 100755 (executable)
@@ -1,5 +1,17 @@
 #! /bin/sh
 # $OpenLDAP$
+## This work is part of OpenLDAP Software <http://www.openldap.org/>.
+##
+## Copyright 1998-2005 The OpenLDAP Foundation.
+## All rights reserved.
+##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## <http://www.OpenLDAP.org/license.html>.
 
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
@@ -127,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"