# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

AUTHOR = "louiscollard, apronin"
NAME = "firmware_Cr50U2fPowerwash"
ATTRIBUTES = "suite:faft_cr50_pvt, suite:faft_cr50_prepvt"
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "firmware"
TEST_TYPE = "server"
JOB_RETRIES = 1

DOC = """
This test issues a U2F_REGISTER command, clears the TPM, and checks that
the previously issued key handle becomes invalid. This test ensures that
after a powerwash, a device cannot be used to access resources on which
the device was registered before powerwash.
"""

def run_test(machine):
    host = hosts.create_host(machine)
    job.run_test('firmware_Cr50U2fPowerwash', host=host)

parallel_simple(run_test, machines)