blob: 401190fb5af0772827f8a8b63626de530bac76cb [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.
AUTHOR = 'The Chromium OS Authors'
NAME = 'hardware_DiskSize.hwqual'
PURPOSE = 'Ensure the hard disk is large enough.'
CRITERIA = 'Fails if the main disk is less than gb_main_disk_size.'
ATTRIBUTES = "suite:hwqual"
TEST_CATEGORY = 'Functional'
TEST_CLASS = "hardware"
TEST_TYPE = 'client'
DOC = """
This test will find the disk where /dev is located by searching /proc/cmdline,
and will then determine the size of the main disk by reading /proc/partitions.
job.run_test('hardware_DiskSize', constraints=['gb_main_disk_size >= 8'])