19 Mar
2015
19 Mar
'15
7:53 p.m.
a simple:
grep failed out.txt | wc -l
Well....
grep "^\*\*passed" out.txt | wc -l
will get the passed ones. I have actually have some post processing that I do for the automated Bamboo builds to show failures differently. The above expression wont actually work for what you want. Adjust the grep expression to meet your needs. (o;
grepping for "failed" shows the "failed as expected" messages as well. I grep for \.\.failed which works for me. John.