From 3823e702bc8c309a8c2863b79a5e4a8d930007a9 Mon Sep 17 00:00:00 2001 From: Ben Hearsum Date: Thu, 6 Feb 2025 01:35:07 +0000 Subject: [PATCH] Bug 1940974: update verify should fail when the updater fails to download r=releng-reviewers,gabriel, a=dmeehan DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D236885 --- tools/update-verify/release/updates/verify.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/update-verify/release/updates/verify.sh b/tools/update-verify/release/updates/verify.sh index 4f7201c0482e..ffb8573aac2f 100755 --- a/tools/update-verify/release/updates/verify.sh +++ b/tools/update-verify/release/updates/verify.sh @@ -203,7 +203,10 @@ do esac rm -rf updater/* - cached_download "${updater_package_filename}" "${updater_package_url}" + if ! cached_download "${updater_package_filename}" "${updater_package_url}"; then + echo "TEST-UNEXPECTED-FAIL: [$release $locale $patch_type] couldn't download updater package" + continue + fi unpack_build "$updater_platform" updater "$updater_package_filename" "$locale" "$product" # Even on Windows, we want Unix-style paths for the updater, because of MSYS.