3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2005 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
16 SHTOOL="$SRCDIR/../build/shtool"
17 TB=`$SHTOOL echo -e "%B"`
18 TN=`$SHTOOL echo -e "%b"`
21 echo "#######################################################################"
23 echo "### regression tests ###"
25 echo "#######################################################################"
28 echo ">>>>> Executing all LDAP ITS regression tests"
30 for CMD in $SRCDIR/data/regressions/its*/its*; do
31 # remove cruft from prior test
32 if test $PRESERVE = yes ; then
33 /bin/rm -rf testrun/db.*
38 echo ">>>>> Starting ${TB}`basename $CMD`${TN} ..."
41 if test $RC -eq 0 ; then
42 echo ">>>>> $CMD completed ${TB}OK${TN}."
44 echo ">>>>> $CMD ${TB}failed${TN} (exit $RC)"
48 echo ">>>>> waiting $SLEEPTIME seconds for things to exit"