From 6f633be58f53185f70bc1aac262a4f85bcaf317e Mon Sep 17 00:00:00 2001 From: "sonmi%netscape.com" Date: Tue, 14 Nov 2000 02:24:44 +0000 Subject: [PATCH] no more temp files, all saved for later debugging purpose runs with /bin/sh now --- security/nss/tests/sdr/sdr.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/security/nss/tests/sdr/sdr.sh b/security/nss/tests/sdr/sdr.sh index 426b8b7375c..df1b1693e9d 100755 --- a/security/nss/tests/sdr/sdr.sh +++ b/security/nss/tests/sdr/sdr.sh @@ -1,21 +1,23 @@ -#! /bin/ksh +#! /bin/sh # # This is just a quick script so we can still run our testcases. # Longer term we need a scriptable test environment.. # . ../common/init.sh + +VALUEDIR=`dirname $RESULTS` + CURDIR=`pwd` #temporary files -VALUE1=/tmp/tests.v1.$$ -VALUE2=/tmp/tests.v2.$$ - -TEMPFILES="${VALUE1} ${VALUE2} cert7.db key3.db" +VALUE1=$VALUEDIR/tests.v1.$$ +VALUE2=$VALUEDIR/tests.v2.$$ # # should also try to kill any running server # -trap "rm -f ${TEMPFILES}; exit" 2 3 +#trap "rm -f ${TEMPFILES}; exit" 2 3 - leave this line for now, in case we + #need other cleanup T1=Test1 T2="The quick brown fox jumped over the lazy dog" @@ -67,5 +69,3 @@ else fi echo "
" >> ${RESULTS} - -rm -f ${TEMPFILES}