test/jdk/java/util/Currency/PropertiesTest.sh
changeset 48929 28d8fc8cd3cd
parent 47710 6b0c555658e8
equal deleted inserted replaced
48928:cc30928a834e 48929:28d8fc8cd3cd
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 # Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
     3 # Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
     4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5 #
     5 #
     6 # This code is free software; you can redistribute it and/or modify it
     6 # This code is free software; you can redistribute it and/or modify it
     7 # under the terms of the GNU General Public License version 2 only, as
     7 # under the terms of the GNU General Public License version 2 only, as
     8 # published by the Free Software Foundation.
     8 # published by the Free Software Foundation.
    22 # questions.
    22 # questions.
    23 #
    23 #
    24 
    24 
    25 # @test
    25 # @test
    26 # @bug 6332666 6863624 7180362 8003846 8074350 8074351 8130246 8149735 7102969
    26 # @bug 6332666 6863624 7180362 8003846 8074350 8074351 8130246 8149735 7102969
    27 #      8157138
    27 #      8157138 8190904
    28 # @summary tests the capability of replacing the currency data with user
    28 # @summary tests the capability of replacing the currency data with user
    29 #     specified currency properties file
    29 #     specified currency properties file
    30 # @build PropertiesTest
    30 # @build PropertiesTest
    31 # @run shell/timeout=600 PropertiesTest.sh
    31 # @run shell/timeout=600 PropertiesTest.sh
    32 
    32 
   122 # run bug8157138 test
   122 # run bug8157138 test
   123 echo ''
   123 echo ''
   124 ${WRITABLEJDK}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTCLASSES} PropertiesTest bug8157138
   124 ${WRITABLEJDK}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTCLASSES} PropertiesTest bug8157138
   125 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
   125 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
   126 
   126 
       
   127 # run bug8190904 test
       
   128 echo ''
       
   129 ${WRITABLEJDK}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTCLASSES} PropertiesTest bug8190904
       
   130 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
       
   131 
   127 # Cleanup
   132 # Cleanup
   128 rm -rf $WRITABLEJDK
   133 rm -rf $WRITABLEJDK
   129 
   134 
   130 # compare the two dump files
   135 # compare the two dump files
   131 run PropertiesTest -c dump1 dump3 ${PROPS}
   136 run PropertiesTest -c dump1 dump3 ${PROPS}