summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils_unittest.py
diff options
context:
space:
mode:
authorMiriam Polzer <mpolzer@google.com>2020-05-29 10:25:09 +0200
committerCommit Bot <commit-bot@chromium.org>2020-09-28 11:11:09 +0000
commit213e2be8e290c757bc25647b2963ddc9b8f087b1 (patch)
tree18e4188cdad1708b7f9cf9c79906545aed098313 /scripts/update_payload/format_utils_unittest.py
parentffa4c66aa7b4d91d55ef90194ca620bf9356556c (diff)
update_engine: Kiosk version test and comment
The required Chrome OS version (target version prefix) variable for kiosks is set to an empty string instead of a null pointer after 5 failed retrieval attempts. Omaha treats an empty target version prefix the same as no target version prefix. This resulted in kiosks updating to versions greater than their set version prefix would allow. Document that an empty string as result means the version could not be read and add a test for this behavior. The behavior for empty kiosk version is changed in crrev.com/c/2416628. BUG=chromium:1084453 TEST=FEATURES=test emerge-amd64-generic update_engine Change-Id: Ia121882a9d1099e63ae87705b082cb25eaacc14a Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2218314 Tested-by: Miriam Polzer <mpolzer@google.com> Commit-Queue: Miriam Polzer <mpolzer@google.com> Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions