QA:Testcase USB Compliance Asynchronous Detach and Reattach

From FedoraProject

Jump to: navigation, search

Contents

Description

Setup

  1. The machine is on.
  2. Attach USB device and mount it

How to test

  1. Stop all the operations on the USB device.And run umount /dev/sdX? (X? stands for the partition of the USB device), detach it from the USB port.
  2. Run mount /dev/sdbX? /media/${DIR} to reattach the USB device.${DIR} is the mount point and make sure it exits.

Expected Results

  1. Detach successfully.All the other USB devices should be work fine
  2. Reattach successfully.All the USB devices should be work fine including the USB that just attached