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
5AUTHOR = "Chromium OS Authors"
6NAME = "platform_TPMEvict"
7PURPOSE = "Tests the TPM under low-resource conditions."
8CRITERIA = "Fails if any operations fail."
9ATTRIBUTES = "suite:regression"
10SUITE = "regression"
11TIME = "SHORT"
12TEST_CATEGORY = "Stress"
13TEST_CLASS = "platform"
14TEST_TYPE = "client"
15
16DOC = """
17This test verifies that PKCS #11 services remain functional when the TPM is
18operating under low-resource conditions. Specifically, more keys are used than
19are able to fit in TPM memory which requires that previously loaded keys be
20evicted. The test exercises the eviction code path as well as the reload code
21path (when a previously evicted key is used again).
22"""
23
24job.run_test('platform_TPMEvict')
25