1# Copyright (c) 2021 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5AUTHOR = "hbarnor, Chromium OS" 6NAME = "autoupdate_InvalidateSuccessfulUpdate" 7TEST_CATEGORY = "Functional" 8TEST_CLASS = "platform" 9TEST_TYPE = "client" 10PURPOSE = "Tests installing an update and invalidating it before it is booted." 11TIME = "SHORT" 12PY_VERSION = 3 13 14DOC = """ 15This test will first apply an update and check that it was applied successfully 16and DUT is in NEED_REBOOT state. Then it will invalidate the update and check 17that DUT invalidated the update by looking at state and boot priority. 18""" 19 20job.run_test('autoupdate_InvalidateSuccessfullUpdate') 21