8001621: Update awk scripts that check output from jps/jcmd
authorsla
Mon, 29 Oct 2012 09:23:55 +0100
changeset 14329 01f78346929c
parent 14328 45c5cda024f0
child 14330 e4cb78065603
8001621: Update awk scripts that check output from jps/jcmd Reviewed-by: alanb
jdk/test/sun/tools/jcmd/jcmd_Output1.awk
jdk/test/sun/tools/jps/jps-l_Output1.awk
jdk/test/sun/tools/jps/jps_Output1.awk
--- a/jdk/test/sun/tools/jcmd/jcmd_Output1.awk	Mon Oct 29 14:14:07 2012 +0800
+++ b/jdk/test/sun/tools/jcmd/jcmd_Output1.awk	Mon Oct 29 09:23:55 2012 +0100
@@ -16,7 +16,7 @@
 }
 
 # or match on the condition that the class name is not available
-/^[0-9]+ -- process information unavailable$/	{
+/^[0-9]+ -- .*$/	{
 	    current=1;
 	}
 
--- a/jdk/test/sun/tools/jps/jps-l_Output1.awk	Mon Oct 29 14:14:07 2012 +0800
+++ b/jdk/test/sun/tools/jps/jps-l_Output1.awk	Mon Oct 29 09:23:55 2012 +0100
@@ -16,7 +16,7 @@
 }
 
 # or match on the condition that the class name is not available
-/^[0-9]+ -- process information unavailable$/	{
+/^[0-9]+ -- .*$/	{
 	    matched++;
 	}
 
--- a/jdk/test/sun/tools/jps/jps_Output1.awk	Mon Oct 29 14:14:07 2012 +0800
+++ b/jdk/test/sun/tools/jps/jps_Output1.awk	Mon Oct 29 09:23:55 2012 +0100
@@ -16,7 +16,7 @@
 }
 
 # or match on the condition that the class name is not available
-/^[0-9]+ -- process information unavailable$/	{
+/^[0-9]+ -- .*$/	{
 	    matched++;
 	}