From 645eb0fd8c1d0bb3ef15a04497c87012c4fa24f8 Mon Sep 17 00:00:00 2001 From: "julien.pierre.bugs%sun.com" Date: Thu, 6 Apr 2006 06:19:41 +0000 Subject: [PATCH] Fix for bug 315798 . run bltest and rsaperf from source directories in the QA . r=nelson git-svn-id: svn://10.0.0.236/trunk@193670 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/nss/tests/cipher/cipher.sh | 6 +++--- mozilla/security/nss/tests/perf/perf.sh | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mozilla/security/nss/tests/cipher/cipher.sh b/mozilla/security/nss/tests/cipher/cipher.sh index 90b994587c4..b154e06b50d 100755 --- a/mozilla/security/nss/tests/cipher/cipher.sh +++ b/mozilla/security/nss/tests/cipher/cipher.sh @@ -75,7 +75,7 @@ cipher_init() mkdir -p ${CIPHERDIR} - cd ${CIPHERTESTDIR} + cd ${CIPHERDIR} P_CIPHER=. if [ -n "${MULTIACCESS_DBM}" ]; then P_CIPHER="multiaccess:${D_CIPHER}" @@ -101,8 +101,8 @@ cipher_main() outOff=0 while [ $outOff -lt 8 ] do - echo "bltest -T -m $PARAM -d . -1 $inOff -2 $outOff" - bltest -T -m $PARAM -d . -1 $inOff -2 $outOff + echo "bltest -T -m $PARAM -d $CIPHERTESTDIR -1 $inOff -2 $outOff" + bltest -T -m $PARAM -d $CIPHERTESTDIR -1 $inOff -2 $outOff if [ $? -ne 0 ]; then failedStr="$failedStr[$inOff:$outOff]" fi diff --git a/mozilla/security/nss/tests/perf/perf.sh b/mozilla/security/nss/tests/perf/perf.sh index 7fee17c1e4d..d92182754c4 100755 --- a/mozilla/security/nss/tests/perf/perf.sh +++ b/mozilla/security/nss/tests/perf/perf.sh @@ -67,6 +67,7 @@ perf_init() } perf_init +cd ${PERFDIR} RSAPERF_OUT=`rsaperf -i 300 -s -n none` RSAPERF_OUT=`echo $RSAPERF_OUT | sed \ -e "s/^/RSAPERF: $OBJDIR /" \