1# Copyright (c) 2012 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
5NAME = "kernel_TPMPing"
6AUTHOR = "The Chromium OS Authors"
7PURPOSE = "Ping the TPM"
8CRITERIA = "Fails if user-level cannot communicate with the TPM."
9ATTRIBUTES = "suite:bvt-cq"
10TIME = "SHORT"
11TEST_CATEGORY = "Functional"
12TEST_CLASS = "kernel"
13TEST_TYPE = "client"
14JOB_RETRIES = 2
15
16DOC = """
17    Checks that there is a TPM, that the driver can talk to it, and that the
18    TCS daemon can talk to the driver.  Assumes that the firmware has started
19    the TPM, but makes no other assumptions on the TPM state (activated or not,
20    owned or not, etc.)
21
22    Also checks that the driver contains an important patch (gentle shutdown).
23"""
24
25job.run_test('kernel_TPMPing')
26