1 # Copyright (c) 2011 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 5 AUTHOR = "Chromium OS Authors" 6 NAME = "platform_Pkcs11InitUnderErrors" 7 PURPOSE = "Tests PKCS#11 initialization under various system states." 8 CRITERIA = "Fails if initialization fails under any of the initial states." 9 ATTRIBUTES = "suite:regression" 10 TIME = "SHORT" 11 TEST_CATEGORY = "Functional" 12 TEST_CLASS = "platform" 13 TEST_TYPE = "client" 14 15 DOC = """ 16 This tests PKCS#11 initialization under various kinds of error conditions - 17 missing opencryptoki files, corrupted state information, etc. 18 """ 19 20 job.run_test('platform_Pkcs11InitUnderErrors') 21