commit | a409c80507d68befd00d3e9aa20cf378f11c1fb9 | [log] [tgz] |
---|---|---|
author | Gwendal Grignou <[email protected]> | Thu Oct 13 09:41:08 2016 -0700 |
committer | chrome-bot <[email protected]> | Wed Nov 02 04:23:41 2016 -0700 |
tree | 3d0f70bb32b19bda7c8ef7090fbb20f547a8146d | |
parent | bfbe7d4a4b39bf40aa88ecf796a557bd84c253e9 [diff] [blame] |
Add support for NVMe device Add support in storage client tests to support NVMe device. BUG=chromium:655192 TEST=Run StorageQualBase.test. Verified that all tests (Cryptohome and plain fio tests) passed. Change-Id: Ieadd636c2f459e45f8e5c06067d9055300bab09c Signed-off-by: Gwendal Grignou <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/398158
diff --git a/client/bin/base_utils.py b/client/bin/base_utils.py index 0384591..16ad864 100644 --- a/client/bin/base_utils.py +++ b/client/bin/base_utils.py
@@ -786,7 +786,7 @@ return utils.system_output(cmd) -_DISK_DEV_RE = re.compile(r'/dev/sd[a-z]|/dev/mmcblk[0-9]*') +_DISK_DEV_RE = re.compile(r'/dev/sd[a-z]|/dev/mmcblk[0-9]*|/dev/nvme[0-9]*') def get_disk_from_filename(filename):