David Caro has uploaded a new change for review.

Change subject: Fixed parted utils for newer parted
......................................................................

Fixed parted utils for newer parted

In the newer parted, the new flag 'esp' is added to the 'boot' flag on all
partitions.

Change-Id: I21b5842abb03f08b15b067c0c6e5889091bcdc5d
Signed-off-by: David Caro <[email protected]>
---
M tests/parted_utils_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/00/35700/1

diff --git a/tests/parted_utils_tests.py b/tests/parted_utils_tests.py
index 4a0016c..dcbc1e7 100644
--- a/tests/parted_utils_tests.py
+++ b/tests/parted_utils_tests.py
@@ -104,7 +104,7 @@
         partName = '%sp1' % self.devPath
         partInfo = info['partitions'].get(partName)
         self.assertTrue(partInfo)
-        self.assertEquals(partInfo[0], ['boot'])
+        self.assertIn(partInfo[0], (['boot'], ['boot', 'esp']))
         self.assertTrue(partInfo[1] >= 0)
         self.assertTrue((partInfo[2] * info['sectorSize']) >= PART_END_SIZE)
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I21b5842abb03f08b15b067c0c6e5889091bcdc5d
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: David Caro <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to