blob: 19678d30fcc8657fee718a609e8cace84c85605a [file] [log] [blame]
# Copyright (c) 2012 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.
NAME = "kernel_TPMPing"
AUTHOR = "The Chromium OS Authors"
PURPOSE = "Ping the TPM"
CRITERIA = "Fails if user-level cannot communicate with the TPM."
ATTRIBUTES = "suite:bvt-cq"
TEST_CATEGORY = "Functional"
TEST_CLASS = "kernel"
TEST_TYPE = "client"
DOC = """
Checks that there is a TPM, that the driver can talk to it, and that the
tcs/trunks daemon can talk to the driver. Assumes that the firmware has
started the TPM, but makes no other assumptions on the TPM state (activated
or not, owned or not, etc.)
For TPM 1.2 chips and kernels >= 3.8, also checks that the driver contains
an important patch (gentle shutdown).