From f094b6d884935b15d6d30110a70e9c35f1c09f7b Mon Sep 17 00:00:00 2001 From: "sonmi%netscape.com" Date: Mon, 10 Sep 2001 22:09:29 +0000 Subject: [PATCH] fixed 2 problems with local QA, right usage information and absolute PATHS in NT understood as well now git-svn-id: svn://10.0.0.236/trunk@102680 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/nss/tests/header | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/security/nss/tests/header b/mozilla/security/nss/tests/header index 0005e7e85f0..b2896d266c8 100644 --- a/mozilla/security/nss/tests/header +++ b/mozilla/security/nss/tests/header @@ -645,6 +645,7 @@ turn_on_cronoptions() test_mozroot() { PWD=`pwd` + Debug "LOCAL_MOZROOT = $LOCAL_MOZROOT" case "$LOCAL_MOZROOT" in [0-9-]*|tip) glob_usage "Error: -"$1" requires a directoryname to follow (start with a letter) " @@ -662,7 +663,7 @@ test_mozroot() \.\.\/*) LOCAL_MOZROOT="${PWD}/${LOCAL_MOZROOT}" ;; - \/*) + \/*|[a-zA-Z]:\/*) ;; ?*) LOCAL_MOZROOT="${PWD}/${LOCAL_MOZROOT}" @@ -1428,7 +1429,7 @@ opt_usage() Echo " example sonmi,nelsonb,wtc) only useful with -f" Echo " -cron equivalient to -y -s -d -f \$RESULTDIR/\$HOST.nssqa" Echo " -t run on a tinderbox build (included -cron)" - if [ `basename $0` != nssqa ] ; then + if [ `basename $0` = nssqa ] ; then Echo " -l run on a local build" Echo " -ln copy a networkbuild to a local directory " Echo " mozroot, used for networkindipendend QA "