17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 #
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 # or visit www.oracle.com if you need additional information or have any
21 # questions.
22 #
23
24 # @test
25 # @bug 8000983
26 # @summary Unit test for narrow names support
27 # @build NarrowNamesTest
28 # @run shell NarrowNamesTest.sh
29
30 # This test is locale data-dependent and assumes that both JRE and CLDR
31 # have the same narrow names.
32
33 STATUS=0
34 for P in "JRE,SPI" "CLDR"
35 do
36 echo "Locale providers: $P"
37 if ! ${TESTJAVA}/bin/java -esa -cp "${TESTCLASSES}" -Djava.locale.providers="${P}" NarrowNamesTest; then
38 STATUS=1
39 fi
40 done
41 exit ${STATUS}
|
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 #
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 # or visit www.oracle.com if you need additional information or have any
21 # questions.
22 #
23
24 # @test
25 # @bug 8000983
26 # @summary Unit test for narrow names support
27 # @build NarrowNamesTest
28 # @run shell NarrowNamesTest.sh
29
30 # This test is locale data-dependent and assumes that both JRE and CLDR
31 # have the same narrow names.
32
33 STATUS=0
34 for P in "JRE,SPI" "CLDR"
35 do
36 echo "Locale providers: $P"
37 if ! ${TESTJAVA}/bin/java -esa ${TESTVMOPTS} -cp "${TESTCLASSES}" -Djava.locale.providers="${P}" NarrowNamesTest; then
38 STATUS=1
39 fi
40 done
41 exit ${STATUS}
|