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