jdk/test/sun/tools/jstat/gcNewOutput1.awk
author ant
Wed, 19 Mar 2008 16:23:50 +0300
changeset 131 fe5ccd4774b4
parent 2 90ce3da70b43
permissions -rw-r--r--
6567410: PIT : java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusSetVisibleTest.java fails Summary: A filter flag has been added to the HCBT focus hook. Reviewed-by: dcherepanov
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
# matching the following output specified as a pattern that verifies
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# that the numerical values conform to a specific pattern, rather than
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
# specific values.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# S0C    S1C    S0U    S1U   TT MTT  DSS      EC       EU     YGC     YGCT  
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
#  64.0   64.0    0.0   64.0  1  31   32.0   2048.0     41.4      1    0.031
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
BEGIN	{
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
	    headerlines=0; datalines=0; totallines=0
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
	}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
/^ S0C    S1C    S0U    S1U   TT MTT  DSS      EC       EU     YGC     YGCT  $/	{
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
	    headerlines++;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
	}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
/^[ ]*[0-9]+\.[0-9]+[ ]*[0-9]+\.[0-9]+[ ]*[0-9]+\.[0-9]+[ ]*[0-9]+\.[0-9]+[ ]*[0-9]+[ ]*[0-9]+[ ]*[0-9]+\.[0-9]+[ ]*[0-9]+\.[0-9]+[ ]*[0-9]+\.[0-9]+[ ]*[0-9]+[ ]*[0-9]+\.[0-9]+$/	{
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
	    datalines++;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
	}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
	{ totallines++; print $0 }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
END	{
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
	    if ((headerlines == 1) && (datalines == 1) && (totallines == 2)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
	        exit 0
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
	    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
	    else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
	        exit 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
	    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
	}