< prev index next >
test/java/net/Socket/OldSocketImpl.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>
*** 30,39 ****
--- 30,43 ----
case "$OS" in
SunOS | Linux | Darwin | AIX )
PS=":"
FS="/"
;;
+ CYGWIN* )
+ PS=";"
+ FS="/"
+ ;;
Windows* )
PS=";"
FS="\\"
;;
* )
*** 44,54 ****
# no need to compile the test. It is already compiled
# with 1.3 and in OldStyleImpl.jar
# run
! ${TESTJAVA}${FS}bin${FS}java -cp ${TESTSRC}${FS}OldSocketImpl.jar OldSocketImpl
result=$?
if [ "$result" -ne "0" ]; then
exit 1
fi
--- 48,58 ----
# no need to compile the test. It is already compiled
# with 1.3 and in OldStyleImpl.jar
# run
! ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTSRC}${FS}OldSocketImpl.jar OldSocketImpl
result=$?
if [ "$result" -ne "0" ]; then
exit 1
fi
< prev index next >