mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix a couple of error messages; only test bdb & hdb
This commit is contained in:
parent
a6127452f5
commit
d71bef1a47
@ -12,6 +12,11 @@
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
if test "$BACKEND" != "bdb" && test "$BACKEND" != "hdb" ; then
|
||||
echo "Test does not support $BACKEND"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
||||
@ -90,7 +95,7 @@ for M in 1 2 ; do
|
||||
# or referrals
|
||||
;;
|
||||
*)
|
||||
echo "ldapadd should have failed ($RC)!"
|
||||
echo "ldapadd failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
;;
|
||||
@ -117,7 +122,7 @@ case $RC in
|
||||
# or referrals
|
||||
;;
|
||||
*)
|
||||
echo "ldapadd should have failed ($RC)!"
|
||||
echo "ldapadd failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
;;
|
||||
@ -143,7 +148,7 @@ case $RC in
|
||||
# or referrals
|
||||
;;
|
||||
*)
|
||||
echo "ldapadd should have failed ($RC)!"
|
||||
echo "ldapadd failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user