Look for ERROR too. Not sure if BAD actually ever shows up.

Review URL: http://codereview.chromium.org/1216001
This commit is contained in:
Darin Petkov 2010-03-23 15:04:34 -07:00
parent 4977c869d5
commit 9cff73ea8c

View File

@ -64,8 +64,8 @@ function cleanup() {
# None
function is_successful_test() {
local file="$1"
# To be successful, must not have FAIL or BAD in the file.
if egrep -q "(BAD|FAIL)" "${file}"; then
# To be successful, must not have BAD, ERROR or FAIL in the file.
if egrep -q "(BAD|ERROR|FAIL)" "${file}"; then
return 1
fi
# To be successful, must have GOOD in the file.