Merge "Inherit the base images qcow2 properties"
This commit is contained in:
@@ -3402,6 +3402,9 @@ class LibvirtUtilsTestCase(test.TestCase):
|
||||
|
||||
def test_create_cow_image(self):
|
||||
self.mox.StubOutWithMock(utils, 'execute')
|
||||
rval = ('', '')
|
||||
utils.execute('env', 'LC_ALL=C', 'LANG=C',
|
||||
'qemu-img', 'info', '/some/path').AndReturn(rval)
|
||||
utils.execute('qemu-img', 'create', '-f', 'qcow2',
|
||||
'-o', 'backing_file=/some/path',
|
||||
'/the/new/cow')
|
||||
|
||||
Reference in New Issue
Block a user