]> git.sur5r.net Git - openldap/commitdiff
Skip if monitor backend not enabled
authorHoward Chu <hyc@openldap.org>
Sat, 15 Aug 2009 22:36:00 +0000 (22:36 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 15 Aug 2009 22:36:00 +0000 (22:36 +0000)
tests/scripts/test056-monitor

index 109edfd3c708a3ce155ab80c9cc4f78ee000eda8..29a5427eee8f4baff3cdfb30a73eac38253e0576 100755 (executable)
 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..."