view test/sun/tools/jstat/snap2.awk @ 11752:12ae7aa5aaa2

8146993: Several javax/management/remote/mandatory regression tests fail after JDK-8138811 Reviewed-by: dfuchs, valeriep
author jbachorik
date Fri, 05 Feb 2016 11:02:08 +0100
parents
children
line wrap: on
line source
#
BEGIN	{ totallines=0; count=0; }

	{ totallines++; print $0 }

$0 !~ /[java|sun|com\.sun]\..+=.*$/	{ count++ }

END	{
	    if ((count == 0) && (totallines != 0)) {
	        exit 0
	    }
	    else {
	        exit 1
	    }
	}