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