summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglen.beasley%sun.com <devnull@localhost>2007-02-06 22:42:19 +0000
committerglen.beasley%sun.com <devnull@localhost>2007-02-06 22:42:19 +0000
commitf0531c3faf16410193d4e2383dd8885fb8465e77 (patch)
tree6ce16ffdde4ec070e1f4d4c6e5b47683039ef794
parentd2549a386cfc350f3a510f5262ccf5dbeeba1e1c (diff)
downloadnss-hg-f0531c3faf16410193d4e2383dd8885fb8465e77.tar.gz
193386 added MAC OS X support for mangle test r=neil, sr=slavo
-rwxr-xr-xsecurity/nss/tests/fips/fips.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/nss/tests/fips/fips.sh b/security/nss/tests/fips/fips.sh
index 79d1486b9..cef4dbfee 100755
--- a/security/nss/tests/fips/fips.sh
+++ b/security/nss/tests/fips/fips.sh
@@ -217,6 +217,10 @@ fips_140()
echo "LIBPATH=${MANGLEDIR} dbtest -r -d ${P_R_FIPSDIR}"
LIBPATH="${MANGLEDIR}" dbtest -r -d ${P_R_FIPSDIR} > ${TMP}/dbtestoutput.txt 2>&1
RESULT=$?
+ elif [ "${OS_ARCH}" = "Darwin" ]; then
+ echo "DYLD_LIBRARY_PATH=${MANGLEDIR} dbtest -r -d ${P_R_FIPSDIR}"
+ DYLD_LIBRARY_PATH="${MANGLEDIR}" dbtest -r -d ${P_R_FIPSDIR} > ${TMP}/dbtestoutput.txt 2>&1
+ RESULT=$?
else
echo "LD_LIBRARY_PATH=${MANGLEDIR} dbtest -r -d ${P_R_FIPSDIR}"
LD_LIBRARY_PATH="${MANGLEDIR}" dbtest -r -d ${P_R_FIPSDIR} > ${TMP}/dbtestoutput.txt 2>&1