Change the working directory to the test directory before running

certutil -S, which creates files in the current working directory.
This commit is contained in:
nelsonb%netscape.com 2000-10-10 03:12:31 +00:00
Родитель 8808f7286f
Коммит 8ab6b279fa
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -41,6 +41,7 @@ mkdir -p ${SMIMEDIR}
mkdir -p ${CADIR}
mkdir -p ${ALICEDIR}
mkdir -p ${BOBDIR}
cd ${CADIR}
#
# build the TEMP CA used for testing purposes
#
@ -71,7 +72,6 @@ if [ $? -ne 0 ]; then
else
echo "<TR><TD>Creating CA Cert</TD><TD bgcolor=lightGreen>Passed</TD><TR>" >> ${RESULTS}
fi
cd ${CADIR}
echo " certutil -L -n \"TestCA\" -r -d ${CADIR} > root.cert"
certutil -L -n "TestCA" -r -d ${CADIR} > root.cert
if [ $? -ne 0 ]; then