Bug 1464254 - Update verify should ignore download retries, r=bhearsum
authorNick Thomas <nthomas@mozilla.com>
Mon, 28 May 2018 11:29:51 +1200
changeset 8685 7a96783ecbc7109b1f7494865c2b1153a56e7b6d
parent 8684 9bfd3ee2eed340bf43febb337e212a24bb23bd5a
child 8686 985d1b36188cb232dfdf8888e15e64ab5644e07c
push id287
push usernthomas@mozilla.com
push dateThu, 07 Jun 2018 00:10:29 +0000
reviewersbhearsum
bugs1464254
Bug 1464254 - Update verify should ignore download retries, r=bhearsum
scripts/release/updates/chunked-verify.sh
--- a/scripts/release/updates/chunked-verify.sh
+++ b/scripts/release/updates/chunked-verify.sh
@@ -101,13 +101,13 @@ set +x
 echo "Scanning log for failures and warnings"
 echo "--------------------------------------"
 
 # Test for a failure, note we are set -e.
 # Grep returns 0 on a match and 1 on no match
 # Testing for failures first is important because it's OK to to mark as failed
 # when there's failures+warnings, but not OK to mark as warnings in the same
 # situation.
-( ! grep FAIL $SCRIPTS_DIR/../verify_log.txt ) || print_failed_msg
-( ! grep WARN $SCRIPTS_DIR/../verify_log.txt ) || print_warning_msg
+( ! grep 'FAIL:' $SCRIPTS_DIR/../verify_log.txt ) || print_failed_msg
+( ! grep 'WARN:' $SCRIPTS_DIR/../verify_log.txt ) || print_warning_msg
 
 echo "-------------------------"
 echo "All is well"