blob: 17f8a4c1c3c4c3e02821065acf86137c074215ca [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 = 'hardware_SsdDetection'
AUTHOR = 'The Chromium OS Authors'
PURPOSE = 'Determine if main disk is a solid state device.'
CRITERIA = 'Fails if the main disk is not a solid state device.'
SUITE = "hwqual"
TIME='SHORT'
TEST_CATEGORY = 'Functional'
TEST_CLASS = "hardware"
TEST_TYPE = 'client'
DOC = """
This test uses hdparm to determine if the rotation rate properties match that of
a solid state device.
"""
job.add_sysinfo_logfile('/var/log/storage_info.txt', on_every_test=True)
job.run_test('hardware_SsdDetection',
constraints=['mb_ssd_device_size >= 8000'])