jdk/test/sun/tools/jps/jps-v_Output1.awk
author malenkov
Fri, 16 May 2014 15:51:57 +0400
changeset 25088 8d4b058368f0
parent 2 90ce3da70b43
permissions -rw-r--r--
8043152: KSS: javax.swing.plaf.synth.SynthContext Reviewed-by: alexsch, serb

#
BEGIN	{
	    totallines=0; matched=0
	}

/^[0-9]+ Jps.* -XX:\+UseParallelGC$/	{
	    matched++;
	}

	{ totallines++; print $0 }

END	{
	    if ((totallines > 0) && (matched >= 1)) {
	        exit 0
	    }
	    else {
	        exit 1
	    }
	}