From: Howard Chu Date: Sat, 15 Aug 2009 22:36:00 +0000 (+0000) Subject: Skip if monitor backend not enabled X-Git-Tag: ACLCHECK_0~328 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2148902e3d915fd64b76634aaeb7ff2f5d972e1b;p=openldap Skip if monitor backend not enabled --- diff --git a/tests/scripts/test056-monitor b/tests/scripts/test056-monitor index 109edfd3c7..29a5427eee 100755 --- a/tests/scripts/test056-monitor +++ b/tests/scripts/test056-monitor @@ -16,6 +16,11 @@ echo "running defines.sh" . $SRCDIR/scripts/defines.sh +if test $MONITORDB = "no" ; then + echo "Monitor backend not available, test skipped" + exit 0 +fi + mkdir -p $TESTDIR $DBDIR1 echo "Starting slapd on TCP/IP port $PORT..."