• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2014 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 = "deymo, chromeos-installer@google.com"
6NAME = "platform_Powerwash"
7TIME = "SHORT"
8TEST_CATEGORY = "Functional"
9TEST_CLASS = "platform"
10TEST_TYPE = "server"
11ATTRIBUTES = "suite:bvt-installer"
12BUG_TEMPLATE = {
13    'cc': ['chromeos-installer-alerts@google.com'],
14    'components': ['Internals>Installer'],
15}
16
17DOC = """
18Tests that a device runs powerwash on the first reboot after the powerwash was
19signaled. The test verifies that a given file on the stateful partition is
20deleted during powerwash and that the powerwash counter is increased.
21
22Example usage:
23test_that platform_Powerwash <eureka/cros/beaglobonedevice ip> --board=<board>
24"""
25
26def run_test(machine):
27    host = hosts.create_host(machine)
28    job.run_test("platform_Powerwash", host=host, disable_sysinfo=True)
29
30parallel_simple(run_test, machines)
31