• 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:au"
12SUITE = "au"
13BUG_TEMPLATE = {
14    'cc': ['chromeos-installer-alerts@google.com'],
15    'labels': ['Cr-Internals-Installer'],
16}
17
18DOC = """
19Tests that a device runs powerwash on the first reboot after the powerwash was
20signaled. The test verifies that a given file on the stateful partition is
21deleted during powerwash and that the powerwash counter is increased.
22
23Example usage:
24test_that platform_Powerwash <eureka/cros/beaglobonedevice ip> --board=<board>
25"""
26
27def run_test(machine):
28    host = hosts.create_host(machine)
29    job.run_test("platform_Powerwash", host=host, disable_sysinfo=True)
30
31parallel_simple(run_test, machines)
32