test/java/util/Calendar/GenericTimeZoneNamesTest.sh
Print this page
*** 30,44 ****
# This test is locale data-dependent and assumes that both JRE and CLDR
# have the same geneic time zone names in English.
STATUS=0
echo "Locale providers: default"
! if ! ${TESTJAVA}/bin/java -esa ${TESTVMOPTS} -cp "${TESTCLASSES}" GenericTimeZoneNamesTest en-US; then
STATUS=1
fi
echo "Locale providers: CLDR"
! if ! ${TESTJAVA}/bin/java -esa ${TESTVMOPTS} -cp "${TESTCLASSES}" -Djava.locale.providers=CLDR GenericTimeZoneNamesTest en-US; then
STATUS=1
fi
exit ${STATUS}
--- 30,44 ----
# This test is locale data-dependent and assumes that both JRE and CLDR
# have the same geneic time zone names in English.
STATUS=0
echo "Locale providers: default"
! if ! ${TESTJAVA}/bin/java -esa ${TESTVMOPTS} ${TESTJAVAOPTS} -cp "${TESTCLASSES}" GenericTimeZoneNamesTest en-US; then
STATUS=1
fi
echo "Locale providers: CLDR"
! if ! ${TESTJAVA}/bin/java -esa ${TESTVMOPTS} ${TESTJAVAOPTS} -cp "${TESTCLASSES}" -Djava.locale.providers=CLDR GenericTimeZoneNamesTest en-US; then
STATUS=1
fi
exit ${STATUS}