Katja Kantserova 549731dc2f 8078896: Add @modules as needed to the jdk_svc tests
Reviewed-by: alanb, mchung
2015-05-07 09:11:49 +02:00

16 lines
231 B
Awk

#
BEGIN { totallines=0; count=0; }
{ totallines++; print $0 }
$0 !~ /[java|jdk|sun|com\.sun]\..+=.*$/ { count++ }
END {
if ((count == 0) && (totallines != 0)) {
exit 0
}
else {
exit 1
}
}