Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: image_to_live.sh

Issue 6135002: Add simple update test to pfq. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« bin/cbuildbot.py ('K') | « bin/cros_au_test_harness.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: image_to_live.sh
diff --git a/image_to_live.sh b/image_to_live.sh
index 553cd4d21d5e4f5f81bab20229df249f8db58509..fc32388ec43318dce82ef4e6b03065e4a9e9d37a 100755
--- a/image_to_live.sh
+++ b/image_to_live.sh
@@ -263,12 +263,17 @@ function status_thread {
echo -n "." && sleep ${timeout}
done
- info "Update generated. Update engine downloading update."
+ info "Update generated. Update engine preparing to start update."
+ while [ $(get_update_var CURRENT_OP) != ${UPDATER_DOWNLOADING} ]; do
petkov 2011/01/07 01:10:42 you should catch UPDATER_IDLE in this loop otherwi
petkov 2011/01/07 01:15:09 In fact, theoretically, if the update goes really
+ echo -n "." && sleep ${timeout}
+ done
+
+ info "Update engine downloading update."
while [ $(get_update_var CURRENT_OP) = ${UPDATER_DOWNLOADING} ]; do
echo "Download progress $(get_update_var PROGRESS)" && sleep ${timeout}
done
- info "Download complete."
+ info "Download complete. Finalizing update."
}
« bin/cbuildbot.py ('K') | « bin/cros_au_test_harness.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698