From 1a4435d7f4af8ee56e621bb7a8f0e4f8001ce925 Mon Sep 17 00:00:00 2001
From: Hallvard Furuseth <hallvard@openldap.org>
Date: Sun, 14 Oct 2012 11:35:09 +0200
Subject: [PATCH] Fix test060-mt-hot debug level

---
 tests/scripts/test060-mt-hot | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/scripts/test060-mt-hot b/tests/scripts/test060-mt-hot
index 7c34efe70f..68bc3b8697 100755
--- a/tests/scripts/test060-mt-hot
+++ b/tests/scripts/test060-mt-hot
@@ -14,7 +14,10 @@
 ## <http://www.OpenLDAP.org/license.html>.
 
 # The default debug level logs more than 1Gb:
-SLAPD_DEBUG=${SLAPD_DEBUG_MT_HOT-stats}
+case "$SLAPD_DEBUG_MT_HOT/$SLAPD_DEBUG" in
+/0 | /0x0 | /0X0 | /none | /NONE | /32768 | /0x8000 | 0X8000 | /0100000) :;;
+*) SLAPD_DEBUG=${SLAPD_DEBUG_MT_HOT-stats} ;;
+esac
 
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
-- 
GitLab