]> git.sur5r.net Git - openldap/blob - tests/scripts/all
Made dnNormalize() do Unicode normalization and case folding.
[openldap] / tests / scripts / all
1 #! /bin/sh
2 # $OpenLDAP$
3
4 # disable LDAP initialization
5 LDAPNOINIT=true; export LDAPNOINIT
6
7 echo ">>>>> Executing all LDAP tests..."
8
9 if test $# -eq 0 ; then
10         SRCDIR="."
11 else
12         SRCDIR=$1; shift
13 fi
14
15 echo ">>>>> Test Directory: $SRCDIR"
16
17 if test $# -eq 0 ; then
18         BACKEND=ldbm
19 else
20         BACKEND=$1; shift
21 fi
22
23 echo ">>>>> Backend: $BACKEND"
24
25 for CMD in $SRCDIR/scripts/test*; do
26         echo ">>>>> Starting `basename $CMD` ..."
27         $CMD $SRCDIR $BACKEND
28         RC=$?
29         if test $RC -eq 0 ; then
30                 echo ">>>>> $CMD completed OK."
31         else
32                 echo ">>>>> $CMD failed (exit $RC)"
33                 exit $RC
34         fi
35         echo ">>>>> waiting 10 seconds for things to exit"
36         sleep 10
37         echo
38 done