# Copyright (c) 2010 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' PURPOSE = 'Ensure the hard disk is large enough.' CRITERIA = 'Fails if the main disk is less than gb_main_disk_size.' TIME='SHORT' 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')