RFR: 8001621: Update awk scripts that check output from jps/jcmd

Dmitry Samersoff Dmitry.Samersoff at oracle.com
Sat Oct 27 03:08:42 PDT 2012


Staffan,

> /^[0-9]+ -- .*$/        {

If I remeber awk regexp correct, one below will do essentially the same.

/^[0-9]+ -- /

-Dmitry

On 2012-10-26 16:23, Staffan Larsen wrote:
> Some awk scripts in the tests check for 
> -- process information unavailable 
> as valid output. However, there are other outputs that are also 'ok'.
> For example: 
> -- main class information unavailable 
> 
> webrev: http://cr.openjdk.java.net/~sla/8001621/webrev.01/
> 
> 
> Thanks,
> /Staffan


-- 
Dmitry Samersoff
Java Hotspot development team, SPB04
* There will come soft rains ...


More information about the serviceability-dev mailing list