From 2148902e3d915fd64b76634aaeb7ff2f5d972e1b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 15 Aug 2009 22:36:00 +0000 Subject: [PATCH] Skip if monitor backend not enabled --- tests/scripts/test056-monitor | 5 +++++ 1 file changed, 5 insertions(+) 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..." -- 2.39.5