jdk/test/sun/tools/jps/jps-V_Output2.awk
changeset 25987 76e62811f63b
parent 25986 12bcf9a5994f
child 25988 c75f62affad8
child 25989 6a57ce3f21f1
child 25991 e48157b42439
equal deleted inserted replaced
25986:12bcf9a5994f 25987:76e62811f63b
     1 #
       
     2 BEGIN	{
       
     3 	    totallines=0; matched=0
       
     4 	}
       
     5 
       
     6 /^[0-9]+ Jps.* \+DisableExplicitGC$/	{
       
     7 	    matched++;
       
     8 	}
       
     9 
       
    10 	{ totallines++; print $0 }
       
    11 
       
    12 END	{
       
    13 	    if ((totallines > 0) && (matched >= 1)) {
       
    14 	        exit 0
       
    15 	    }
       
    16 	    else {
       
    17 	        exit 1
       
    18 	    }
       
    19 	}