• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 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
5from autotest_lib.server import utils
6
7AUTHOR = "louiscollard, apronin"
8NAME = "firmware_Cr50U2fPowerwash"
9ATTRIBUTES = "suite:faft_cr50_experimental"
10TIME = "SHORT"
11TEST_CATEGORY = "Functional"
12TEST_CLASS = "firmware"
13TEST_TYPE = "server"
14DEPENDENCIES="servo"
15JOB_RETRIES = 1
16
17DOC = """
18This test issues a U2F_REGISTER command, clears the TPM, and checks that
19the previously issued key handle becomes invalid. This test ensures that
20after a powerwash, a device cannot be used to access resources on which
21the device was registered before powerwash.
22"""
23
24args_dict = utils.args_to_dict(args)
25servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
26
27def run_test(machine):
28    host = hosts.create_host(machine, servo_args=servo_args)
29    job.run_test('firmware_Cr50U2fPowerwash', host=host)
30
31parallel_simple(run_test, machines)
32