From af2c9c46574e8f75f41615cf03f8a60bc6c8241a Mon Sep 17 00:00:00 2001 From: "slavomir.katuscak%sun.com" Date: Tue, 22 May 2007 07:54:43 +0000 Subject: [PATCH] Bug 363197 - Patch to print DBG/OPT version. r=neil,sr=nelson --- security/nss/tests/memleak/memleak.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/security/nss/tests/memleak/memleak.sh b/security/nss/tests/memleak/memleak.sh index 9ce0e8203ed..1e8634c8725 100644 --- a/security/nss/tests/memleak/memleak.sh +++ b/security/nss/tests/memleak/memleak.sh @@ -167,6 +167,12 @@ memleak_init() ;; esac + if [ "${BUILD_OPT}" -eq 1 ] ; then + OPT="OPT" + else + OPT="DBG" + fi + SELFSERV_ATTR="-D -p ${PORT} -d ${SERVER_DB} -n ${HOSTADDR} -e ${HOSTADDR}-ec -w nss -c ABCDEF:C001:C002:C003:C004:C005:C006:C007:C008:C009:C00A:C00B:C00C:C00D:C00E:C00F:C010:C011:C012:C013:C014cdefgijklmnvyz -t 5" TSTCLNT_ATTR="-p ${PORT} -h ${HOSTADDR} -c j -f -d ${CLIENT_DB} -w nss" @@ -700,8 +706,8 @@ log_parse() cnt_total() { echo "" - echo "TinderboxPrint:Lk bytes: ${tbytes}" - echo "TinderboxPrint:Lk blocks: ${tblocks}" + echo "TinderboxPrint:${OPT} Lk bytes: ${tbytes}" + echo "TinderboxPrint:${OPT} Lk blocks: ${tblocks}" echo "" }