test/sun/security/krb5/runNameEquals.sh
Print this page
*** 88,106 ****
EXIT_STATUS=0
if [ "${NATIVE}" = "true" ] ; then
echo "Testing native provider"
! ${TESTJAVA}${FILESEP}bin${FILESEP}java ${TESTVMOPTS} \
-classpath ${TESTCLASSES} \
-Dsun.security.jgss.native=true \
${TEST}
if [ $? != 0 ] ; then
echo "Native provider fails"
EXIT_STATUS=1
if [ "$OS" = "Linux" -a `arch` = "x86_64" ]; then
! ${TESTJAVA}${FILESEP}bin${FILESEP}java -XshowSettings:properties -version 2> allprop
cat allprop | grep sun.arch.data.model | grep 32
if [ "$?" = "0" ]; then
echo "Running 32-bit JDK on 64-bit Linux. Maybe only 64-bit library is installed."
echo "Please manually check if this is the case. Treated as PASSED now."
EXIT_STATUS=0
--- 88,106 ----
EXIT_STATUS=0
if [ "${NATIVE}" = "true" ] ; then
echo "Testing native provider"
! ${TESTJAVA}${FILESEP}bin${FILESEP}java ${TESTVMOPTS} ${TESTJAVAOPTS} \
-classpath ${TESTCLASSES} \
-Dsun.security.jgss.native=true \
${TEST}
if [ $? != 0 ] ; then
echo "Native provider fails"
EXIT_STATUS=1
if [ "$OS" = "Linux" -a `arch` = "x86_64" ]; then
! ${TESTJAVA}${FILESEP}bin${FILESEP}java ${TESTVMOPTS} ${TESTJAVAOPTS} -XshowSettings:properties -version 2> allprop
cat allprop | grep sun.arch.data.model | grep 32
if [ "$?" = "0" ]; then
echo "Running 32-bit JDK on 64-bit Linux. Maybe only 64-bit library is installed."
echo "Please manually check if this is the case. Treated as PASSED now."
EXIT_STATUS=0
*** 108,118 ****
fi
fi
fi
echo "Testing java provider"
! ${TESTJAVA}${FILESEP}bin${FILESEP}java ${TESTVMOPTS} \
-classpath ${TESTCLASSES} \
-Djava.security.krb5.realm=R \
-Djava.security.krb5.kdc=127.0.0.1 \
${TEST}
if [ $? != 0 ] ; then
--- 108,118 ----
fi
fi
fi
echo "Testing java provider"
! ${TESTJAVA}${FILESEP}bin${FILESEP}java ${TESTVMOPTS} ${TESTJAVAOPTS} \
-classpath ${TESTCLASSES} \
-Djava.security.krb5.realm=R \
-Djava.security.krb5.kdc=127.0.0.1 \
${TEST}
if [ $? != 0 ] ; then