changeset 2 | 90ce3da70b43 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/test/sun/tools/jps/jps-Vvml_Output2.awk Sat Dec 01 00:00:00 2007 +0000 @@ -0,0 +1,24 @@ +# 1.1 04/03/08 + +BEGIN { + totallines=0; matched=0 + } + +/^[0-9]+ Sleeper$/ { + matched++; + } + +/^[0-9]+ sun.tools.jps.Jps -Vvml.*-XX:Flags=.*vmflags.* \+DisableExplicitGC$/ { + matched++; + } + + { totallines++; print $0 } + +END { + if ((totallines > 0) && (matched >= 2)) { + exit 0 + } + else { + exit 1 + } + }