1 # Copyright 2018 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 = "Chrome OS Team" 6 NAME = "platform_CryptohomeGetEnrollmentId" 7 PURPOSE = "Verify that a valid Enrollment ID can be obtained when the stable device secret is present on the device." 8 CRITERIA = "This test will fail if the command cryptohome --get_enrollment_id fails or if the printed value is not 64 hex characters (32 bytes)." 9 TIME = "SHORT" 10 TEST_CATEGORY = "Functionality" 11 TEST_CLASS = "platform" 12 TEST_TYPE = "client" 13 ATTRIBUTES = "suite:bvt-perbuild" 14 15 DOC = """ 16 Verifies that a valid enrollment ID (64 bytes) is returned by cryptohome when 17 the serial_number is present on the device. 18 """ 19 20 job.run_test('platform_CryptohomeGetEnrollmentId') 21