< prev index next >
test/java/net/URL/runconstructor.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>
*** 29,38 ****
--- 29,42 ----
case "$OS" in
SunOS | Linux )
PS=":"
FS="/"
;;
+ CYGWIN* )
+ PS=";"
+ FS="/"
+ ;;
Windows* )
PS=";"
FS="\\"
;;
* )
*** 44,54 ****
failures=0
go() {
echo ''
! ${TESTJAVA}${FS}bin${FS}java Constructor $1
if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
}
go ${TESTSRC}${FS}share_file_urls
go ${TESTSRC}${FS}jar_urls
--- 48,58 ----
failures=0
go() {
echo ''
! ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} Constructor $1
if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
}
go ${TESTSRC}${FS}share_file_urls
go ${TESTSRC}${FS}jar_urls
< prev index next >