summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornelsonb%netscape.com <devnull@localhost>2000-10-10 03:12:31 +0000
committernelsonb%netscape.com <devnull@localhost>2000-10-10 03:12:31 +0000
commitda6d368ae78f83a0d40ca481864248359129726a (patch)
treed15e676cd765877a090bfc041092a93edaf4b02a
parent775f2f44b8c8b390d81078e0e7a36d31bc24c143 (diff)
downloadnss-hg-da6d368ae78f83a0d40ca481864248359129726a.tar.gz
Change the working directory to the test directory before running
certutil -S, which creates files in the current working directory.
-rwxr-xr-xsecurity/nss/tests/smime/smime.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/tests/smime/smime.sh b/security/nss/tests/smime/smime.sh
index 6c76d3e97..dbf20cef4 100755
--- a/security/nss/tests/smime/smime.sh
+++ b/security/nss/tests/smime/smime.sh
@@ -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