1# Copyright (c) 2010 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 = 'The Chromium OS Authors' 6NAME = 'hardware_DiskSize' 7PURPOSE = 'Ensure the hard disk is large enough.' 8CRITERIA = 'Fails if the main disk is less than gb_main_disk_size.' 9TIME='SHORT' 10TEST_CATEGORY = 'Functional' 11TEST_CLASS = "hardware" 12TEST_TYPE = 'client' 13 14DOC = """ 15This test will find the disk where /dev is located by searching /proc/cmdline, 16and will then determine the size of the main disk by reading /proc/partitions. 17""" 18 19job.run_test('hardware_DiskSize') 20