Enable shared db tests to pass on solaris.

git-svn-id: svn://10.0.0.236/trunk@231076 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rrelyea%redhat.com 2007-07-26 22:15:09 +00:00
parent d320fcdfc7
commit 0e7f454b94
2 changed files with 4 additions and 3 deletions

View File

@ -147,11 +147,11 @@ done
if [ -d fips ]; then
echo "upgrading db fips" | tee -a ${LOGFILE}
certutil -S -g 512 -n tmprsa -t "u,u,u" -s "CN=tmprsa, C=US" -x -d sql:fips -f ${FIPSPWFILE} -z ${NOISE_FILE} 2&>1 | tee -a ${LOGFILE}
certutil -S -g 512 -n tmprsa -t "u,u,u" -s "CN=tmprsa, C=US" -x -d sql:fips -f ${FIPSPWFILE} -z ${NOISE_FILE} 2>&1 | tee -a ${LOGFILE}
html_msg $? 0 "Upgrading fips"
# remove our temp certificate we created in the fist token
certutil -F -n tmprsa -d sql:fips -f ${FIPSPWFILE} 2&>1 | tee -a ${LOGFILE}
certutil -L -d sql:fips 2&>1 | tee -a ${LOGFILE}
certutil -F -n tmprsa -d sql:fips -f ${FIPSPWFILE} 2>&1 | tee -a ${LOGFILE}
certutil -L -d sql:fips 2>&1 | tee -a ${LOGFILE}
fi
html "</TABLE><BR>"

View File

@ -825,6 +825,7 @@ CLONG="-c ABCDEF:C001:C002:C003:C004:C005:C006:C007:C008:C009:C00A:C00B:C00C:C00
if [ -z "$DO_REM_ST" -a -z "$DO_DIST_ST" ] ; then
ulimit -n 1000 # make sure we have enough file descriptors
ssl_init
# save the directories as setup by init.sh