equal
deleted
inserted
replaced
21 # or visit www.oracle.com if you need additional information or have any |
21 # or visit www.oracle.com if you need additional information or have any |
22 # questions. |
22 # questions. |
23 # |
23 # |
24 |
24 |
25 # @test |
25 # @test |
26 # @bug 6332666 6863624 7180362 8003846 8074350 8074351 8130246 8149735 |
26 # @bug 6332666 6863624 7180362 8003846 8074350 8074351 8130246 8149735 7102969 |
|
27 # 8157138 |
27 # @summary tests the capability of replacing the currency data with user |
28 # @summary tests the capability of replacing the currency data with user |
28 # specified currency properties file |
29 # specified currency properties file |
29 # @build PropertiesTest |
30 # @build PropertiesTest |
30 # @run shell/timeout=600 PropertiesTest.sh |
31 # @run shell/timeout=600 PropertiesTest.sh |
31 |
32 |
111 echo '' |
112 echo '' |
112 ${WRITABLEJDK}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTCLASSES} PropertiesTest -d dump3 |
113 ${WRITABLEJDK}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTCLASSES} PropertiesTest -d dump3 |
113 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi |
114 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi |
114 if [ ! -f dump3 ]; then echo "file dump3 not created. Test cannot execute. Failed."; exit 1; fi |
115 if [ ! -f dump3 ]; then echo "file dump3 not created. Test cannot execute. Failed."; exit 1; fi |
115 |
116 |
|
117 # run bug7102969 test |
|
118 echo '' |
|
119 ${WRITABLEJDK}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTCLASSES} PropertiesTest bug7102969 |
|
120 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi |
|
121 |
|
122 # run bug8157138 test |
|
123 echo '' |
|
124 ${WRITABLEJDK}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTCLASSES} PropertiesTest bug8157138 |
|
125 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi |
|
126 |
116 # Cleanup |
127 # Cleanup |
117 rm -rf $WRITABLEJDK |
128 rm -rf $WRITABLEJDK |
118 |
129 |
119 # compare the two dump files |
130 # compare the two dump files |
120 run PropertiesTest -c dump1 dump3 ${PROPS} |
131 run PropertiesTest -c dump1 dump3 ${PROPS} |