]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove suffixes from LVM brick test vgs output
authorJon Bernard <jobernar@redhat.com>
Tue, 19 Nov 2013 17:06:52 +0000 (12:06 -0500)
committerJon Bernard <jobernar@redhat.com>
Thu, 21 Nov 2013 23:03:16 +0000 (18:03 -0500)
commita3ebe1fbaf90b0419a90c7b7dd6f76f59c676752
treee65e7cb223f3ff288351bab836fcf50e766fb0cf
parentb9298d2517549ffad98a0cef11e4ea5986d4e448
Remove suffixes from LVM brick test vgs output

When fake_execute() is called to retrieve volume group information, the
--nosuffix flag is passed but ignored.  This patch honors the nosuffix
flag and removes the unit suffix from the volume group sizes in the
returned output.

Change-Id: I45f41bc58f4ffb4bd527336c0f760350cff7c355
cinder/tests/brick/test_brick_lvm.py