Home | History | Annotate | Download | only in hardware_UsbMount
      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 from autotest_lib.client.cros import storage as storage_mod
      6 
      7 NAME = "hardware_UsbMount"
      8 AUTHOR = "Cosimo Alfarano <cosimo.alfarano (a] collabora.co.uk"
      9 PURPOSE = "Verify a USB drive can mount/umount"
     10 CRITERIA = """Fails if it cannot issue mount/umount commands or if filesystem
     11 is not still mounted after suspend.
     12 """
     13 TIME = "SHORT"
     14 TEST_CATEGORY = "Functional"
     15 TEST_CLASS = "hardware"
     16 TEST_TYPE = "client"
     17 
     18 DOC = """
     19 Mounts/umounts several times a filesystem, creating a file and checking it"s
     20 presence/content integrity in beetween mountng cycles.
     21 
     22 Also checks that after suspending with the file system mounted and resuming,
     23 the file sysem is still mounted
     24 
     25 This test requires a USB drive inserted before the test begins.
     26 This test will prepare the USB drive formatting its partition before starting
     27 the test.
     28 """
     29 
     30 job.run_test("hardware_UsbMount")
     31