Change in vdsm[master]: tests: Fix parted_utils_tests break on fedora 18

danken at redhat.com danken at redhat.com
Sat Jan 19 11:35:13 UTC 2013


Dan Kenigsberg has submitted this change and it was merged.

Change subject: tests: Fix parted_utils_tests break on fedora 18
......................................................................


tests: Fix parted_utils_tests break on fedora 18

parted 3.1 improves its support for loopback devices. The 'model' string
returned by libparted is updated to 'Loopback device'. For more information,
please see:
http://anonscm.debian.org/gitweb/?p=parted/parted.git;a=commit;h=3e35b6

Because another bug of parted.version() on rhel6
(https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=700383),
we can't use parted.version() to differentiate the parted version.
We could restort to rpm db, but loop device is only used in test code,
so it should be safe to ignore the test of model string.

Change-Id: Ia144353747f9343689a8c105ccf3c7fe691de31e
Signed-off-by: Mark Wu <wudxw at linux.vnet.ibm.com>
---
M tests/parted_utils_tests.py
1 file changed, 0 insertions(+), 2 deletions(-)

Approvals:
  Mark Wu: Verified
  Dan Kenigsberg: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/11137
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia144353747f9343689a8c105ccf3c7fe691de31e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: Bala.FA <barumuga at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list