7053586: TEST: runtime/7020373/Test7020373.sh fails on 64-bit platforms
authorasaha
Tue, 17 Jul 2012 22:16:17 -0700
changeset 13299 6875566762ed
parent 13298 e51a50c66885
child 13305 c6204b2b4209
7053586: TEST: runtime/7020373/Test7020373.sh fails on 64-bit platforms Reviewed-by: kamg
hotspot/test/runtime/7020373/Test7020373.sh
--- a/hotspot/test/runtime/7020373/Test7020373.sh	Mon Jul 16 04:06:44 2012 -0700
+++ b/hotspot/test/runtime/7020373/Test7020373.sh	Tue Jul 17 22:16:17 2012 -0700
@@ -2,10 +2,9 @@
 
 ##
 ## @test
-## @bug 7020373 7055247
+## @bug 7020373 7055247 7053586
 ## @key cte_test
 ## @summary JSR rewriting can overflow memory address size variables
-## @ignore Ignore it until 7053586 fixed
 ## @run shell Test7020373.sh
 ##
 
@@ -30,7 +29,7 @@
 # set platform-dependent variables
 OS=`uname -s`
 case "$OS" in
-  SunOS | Linux )
+  SunOS | Linux | Darwin )
     NULL=/dev/null
     PS=":"
     FS="/"
@@ -66,7 +65,7 @@
     echo "Test Failed"
     exit 1
 else
-    grep "java.lang.LinkageError" test.out
+    egrep "java.lang.LinkageError|java.lang.NoSuchMethodError|Main method not found in class OOMCrashClass4000_1|insufficient memory" test.out
     if [ $? = 0 ]
     then
         echo "Test Passed"