зеркало из https://github.com/mozilla/pjs.git
no more temp files, all saved for later debugging purpose
runs with /bin/sh now
This commit is contained in:
Родитель
4ac49a1237
Коммит
6f633be58f
|
@ -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 "</TABLE><BR>" >> ${RESULTS}
|
||||
|
||||
rm -f ${TEMPFILES}
|
||||
|
|
Загрузка…
Ссылка в новой задаче