< prev index next >
test/java/lang/StringCoding/CheckEncodings.sh
Print this page
rev 1539 : 6911129: These tests do not work with CYGWIN: java/lang
Reviewed-by: tbell, alanb
rev 1541 : 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
Contributed-by: Mark Sheppard <mark.sheppard@oracle.com>
*** 29,39 ****
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
SunOS | Linux | Darwin | AIX ) ;;
! Windows* )
echo "Passed"; exit 0 ;;
* ) echo "Unrecognized system!" ; exit 1 ;;
esac
expectPass() {
--- 29,39 ----
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
SunOS | Linux | Darwin | AIX ) ;;
! Windows* | CYGWIN* )
echo "Passed"; exit 0 ;;
* ) echo "Unrecognized system!" ; exit 1 ;;
esac
expectPass() {
*** 47,57 ****
runTest() {
echo "Testing:" ${1}
set LC_ALL="${1}"; export LC_ALL
locale
! ${TESTJAVA}/bin/java -version 2>&1
expectPass $?
}
locale -a > machine_locales.txt
--- 47,57 ----
runTest() {
echo "Testing:" ${1}
set LC_ALL="${1}"; export LC_ALL
locale
! ${TESTJAVA}/bin/java ${TESTVMOPTS} -version 2>&1
expectPass $?
}
locale -a > machine_locales.txt
< prev index next >