]> git.sur5r.net Git - openldap/commitdiff
Fix test060-mt-hot debug level
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 14 Oct 2012 09:35:09 +0000 (11:35 +0200)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 31 Oct 2012 19:55:02 +0000 (12:55 -0700)
tests/scripts/test060-mt-hot

index 7c34efe70fae18166b2491fa8d5bd976d207969f..68bc3b8697f8af5d5bc811d392e706d10dbaa583 100755 (executable)
 ## <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