]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/all
check for overflows
[openldap] / tests / scripts / all
index 3e8c80886f41cc0dd16b531fdd71389086144e80..c8be543e61f2ed316da41f49e12643277c3cb1d4 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2007 The OpenLDAP Foundation.
+## Copyright 1998-2008 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -32,6 +32,16 @@ for CMD in $SRCDIR/scripts/test*; do
        else
                /bin/rm -rf $TESTDIR
        fi
+       if test $BACKEND = ndb ; then
+               mysql --user root <<EOF
+               drop database if exists db_1;
+               drop database if exists db_2;
+               drop database if exists db_3;
+               drop database if exists db_4;
+               drop database if exists db_5;
+               drop database if exists db_6;
+EOF
+       fi
 
        echo ">>>>> Starting ${TB}`basename $CMD`${TN} ..."
        $CMD