# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
-## Copyright 1998-2005 The OpenLDAP Foundation.
+## Copyright 1998-2006 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
if test $first = 1 ; then
first=0
else
- echo ">>>>> waiting 10 seconds for things to exit"
- sleep 10
+ echo ">>>>> waiting for things to exit"
+ test $KILLSERVERS != no && wait
echo ""
rm -rf $TESTDIR
done
echo ">>>>> Test succeeded"
-exit 0
+test $KILLSERVERS != no && wait
+
+exit 0