< prev index next >
test/javax/crypto/SecretKeyFactory/FailOverTest.sh
Print this page
rev 1540 : 6867657: Many JSN tests do not run under cygwin
Reviewed-by: ohair
rev 1541 : 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
Contributed-by: Mark Sheppard <mark.sheppard@oracle.com>
rev 1547 : 8155973: Tighten jar checks
Reviewed-by: mullan, igerasim, ahgross
*** 54,63 ****
--- 54,68 ----
SunOS | Linux | Darwin | AIX )
NULL=/dev/null
PS=":"
FS="/"
;;
+ CYGWIN* )
+ NULL=/dev/null
+ PS=";"
+ FS="/"
+ ;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
;;
*** 67,85 ****
;;
esac
${TESTJAVA}${FS}bin${FS}javac \
-d . \
! -classpath ${TESTSRC}${FS}P1.jar${PS}${TESTSRC}${FS}P2.jar \
${TESTSRC}${FS}FailOverTest.java
if [ $? -ne 0 ]; then
exit 1
fi
${TESTJAVA}${FS}bin${FS}java \
! -classpath ${TESTSRC}${FS}P1.jar${PS}${TESTSRC}${FS}P2.jar${PS}. \
FailOverTest
result=$?
if [ $result -eq 0 ]
then
--- 72,92 ----
;;
esac
${TESTJAVA}${FS}bin${FS}javac \
-d . \
! -classpath "${TESTSRC}${FS}P1.jar${PS}${TESTSRC}${FS}P2.jar" \
${TESTSRC}${FS}FailOverTest.java
if [ $? -ne 0 ]; then
exit 1
fi
${TESTJAVA}${FS}bin${FS}java \
! ${TESTVMOPTS} \
! -Djava.security.properties=${TESTSRC}${FS}security.properties \
! -classpath "${TESTSRC}${FS}P1.jar${PS}${TESTSRC}${FS}P2.jar${PS}." \
FailOverTest
result=$?
if [ $result -eq 0 ]
then
< prev index next >