Merge lp://staging/~ctf/checkbox/bug944623_usb-storage-preinserted_0.9 into lp://staging/checkbox
Proposed by
TienFu Chen
Status: | Merged |
---|---|
Merged at revision: | 1301 |
Proposed branch: | lp://staging/~ctf/checkbox/bug944623_usb-storage-preinserted_0.9 |
Merge into: | lp://staging/checkbox |
Diff against target: |
318 lines (+196/-57) 1 file modified
scripts/removable_storage_test (+196/-57) |
To merge this branch: | bzr merge lp://staging/~ctf/checkbox/bug944623_usb-storage-preinserted_0.9 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeff Lane | Approve | ||
TienFu Chen (community) | Needs Resubmitting | ||
Brendan Donegan (community) | Needs Fixing | ||
Review via email:
|
Description of the change
The removable_
The fix added:
* mount all removable devices which haven't been mounted for the test.
* added a new flag "-n" to skip those removable devices which haven't been mounted.
* thread the subprocess.Popen on calling mount/umount with timeout
* move GetDiskInfo into class DiskTest()
* the job files doesn't need to be changed corresponding to this script change.
To post a comment you must log in.
Please follow PEP 8 in the first instance:
def GetDiskInfo(self, device):
should be
def get_disk_info(self, device):
and so on...