mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
Look for ERROR too. Not sure if BAD actually ever shows up.
Review URL: http://codereview.chromium.org/1216001
This commit is contained in:
parent
4977c869d5
commit
9cff73ea8c
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user