From dc9bf2de74e5e65b206985aa7c9d682a70ef27b2 Mon Sep 17 00:00:00 2001 From: Staffan Larsen Date: Mon, 29 Oct 2012 09:23:55 +0100 Subject: [PATCH] 8001621: Update awk scripts that check output from jps/jcmd Reviewed-by: alanb --- jdk/test/sun/tools/jcmd/jcmd_Output1.awk | 2 +- jdk/test/sun/tools/jps/jps-l_Output1.awk | 2 +- jdk/test/sun/tools/jps/jps_Output1.awk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jdk/test/sun/tools/jcmd/jcmd_Output1.awk b/jdk/test/sun/tools/jcmd/jcmd_Output1.awk index 92bc9db6a29..986951dc178 100644 --- a/jdk/test/sun/tools/jcmd/jcmd_Output1.awk +++ b/jdk/test/sun/tools/jcmd/jcmd_Output1.awk @@ -16,7 +16,7 @@ BEGIN { } # or match on the condition that the class name is not available -/^[0-9]+ -- process information unavailable$/ { +/^[0-9]+ -- .*$/ { current=1; } diff --git a/jdk/test/sun/tools/jps/jps-l_Output1.awk b/jdk/test/sun/tools/jps/jps-l_Output1.awk index ed90256b8df..5280197ed6b 100644 --- a/jdk/test/sun/tools/jps/jps-l_Output1.awk +++ b/jdk/test/sun/tools/jps/jps-l_Output1.awk @@ -16,7 +16,7 @@ BEGIN { } # or match on the condition that the class name is not available -/^[0-9]+ -- process information unavailable$/ { +/^[0-9]+ -- .*$/ { matched++; } diff --git a/jdk/test/sun/tools/jps/jps_Output1.awk b/jdk/test/sun/tools/jps/jps_Output1.awk index 270889edfd9..1781bc560e3 100644 --- a/jdk/test/sun/tools/jps/jps_Output1.awk +++ b/jdk/test/sun/tools/jps/jps_Output1.awk @@ -16,7 +16,7 @@ BEGIN { } # or match on the condition that the class name is not available -/^[0-9]+ -- process information unavailable$/ { +/^[0-9]+ -- .*$/ { matched++; }