author | iklam |
Wed, 13 Nov 2019 19:55:11 -0800 | |
changeset 59072 | b987ea528c21 |
parent 54354 | 80830caaac6e |
permissions | -rw-r--r-- |
2 | 1 |
# |
2 |
# matching the following output specified as a pattern that verifies |
|
3 |
# that the numerical values conform to a specific pattern, rather than |
|
4 |
# specific values. |
|
5 |
# |
|
49377
ecd91135d645
8153333: [REDO] STW phases at Concurrent GC should count in PerfCounte
ysuenaga
parents:
47216
diff
changeset
|
6 |
# S0 S1 E O M CCS YGC YGCT FGC FGCT CGC CGCT GCT |
ecd91135d645
8153333: [REDO] STW phases at Concurrent GC should count in PerfCounte
ysuenaga
parents:
47216
diff
changeset
|
7 |
# 0.00 93.76 28.80 1.82 77.74 68.02 1 0.005 0 0.000 0 0.000 0.005 |
ecd91135d645
8153333: [REDO] STW phases at Concurrent GC should count in PerfCounte
ysuenaga
parents:
47216
diff
changeset
|
8 |
# 0.00 93.76 73.04 1.82 77.74 68.02 1 0.005 0 0.000 0 0.000 0.005 |
ecd91135d645
8153333: [REDO] STW phases at Concurrent GC should count in PerfCounte
ysuenaga
parents:
47216
diff
changeset
|
9 |
# 0.00 93.76 73.04 1.82 77.74 68.02 1 0.005 0 0.000 0 0.000 0.005 |
ecd91135d645
8153333: [REDO] STW phases at Concurrent GC should count in PerfCounte
ysuenaga
parents:
47216
diff
changeset
|
10 |
# 0.00 93.76 73.04 1.82 77.74 68.02 1 0.005 0 0.000 0 0.000 0.005 |
ecd91135d645
8153333: [REDO] STW phases at Concurrent GC should count in PerfCounte
ysuenaga
parents:
47216
diff
changeset
|
11 |
# 0.00 93.76 75.00 1.82 77.74 68.02 1 0.005 0 0.000 0 0.000 0.005 |
2 | 12 |
|
13 |
BEGIN { |
|
14 |
headerlines=0; datalines=0; totallines=0 |
|
15 |
} |
|
16 |
||
49377
ecd91135d645
8153333: [REDO] STW phases at Concurrent GC should count in PerfCounte
ysuenaga
parents:
47216
diff
changeset
|
17 |
/^ S0 S1 E O M CCS YGC YGCT FGC FGCT CGC CGCT GCT $/ { |
2 | 18 |
headerlines++; |
19 |
} |
|
20 |
||
54354
80830caaac6e
8221694: jstatLineCounts1 needs to be NaN resilient
gadams
parents:
49377
diff
changeset
|
21 |
/^[ ]*[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]+[ ]*[0-9]+\.[0-9]+[ ]*[0-9]+\.[0-9]+$/ { |
2 | 22 |
datalines++; |
23 |
} |
|
24 |
||
25 |
{ totallines++; print $0 } |
|
26 |
||
27 |
END { |
|
22562
e909d64b8dd8
6545321: [TESTBUG] jstatLineCounts4.sh has to be resilient to unexpected output
sla
parents:
20763
diff
changeset
|
28 |
if ((headerlines == 1) && (datalines == 5)) { |
2 | 29 |
exit 0 |
30 |
} |
|
31 |
else { |
|
32 |
exit 1 |
|
33 |
} |
|
34 |
} |