|
@@ -845,7 +845,7 @@ class TestCommitWithFilters(iotests.QMPTestCase):
|
|
self.assertIsNone(self.vm.node_info('cow-2'))
|
|
self.assertIsNone(self.vm.node_info('cow-2'))
|
|
self.assertIsNotNone(self.vm.node_info('cow-1'))
|
|
self.assertIsNotNone(self.vm.node_info('cow-1'))
|
|
|
|
|
|
- # 2 has been comitted into 1
|
|
|
|
|
|
+ # 2 has been committed into 1
|
|
self.pattern_files[2] = self.img1
|
|
self.pattern_files[2] = self.img1
|
|
|
|
|
|
def test_commit_through_filter(self):
|
|
def test_commit_through_filter(self):
|
|
@@ -863,7 +863,7 @@ class TestCommitWithFilters(iotests.QMPTestCase):
|
|
self.assertIsNone(self.vm.node_info('bottom-filter'))
|
|
self.assertIsNone(self.vm.node_info('bottom-filter'))
|
|
self.assertIsNotNone(self.vm.node_info('cow-0'))
|
|
self.assertIsNotNone(self.vm.node_info('cow-0'))
|
|
|
|
|
|
- # 1 has been comitted into 0
|
|
|
|
|
|
+ # 1 has been committed into 0
|
|
self.pattern_files[1] = self.img0
|
|
self.pattern_files[1] = self.img0
|
|
|
|
|
|
def test_filtered_active_commit_with_filter(self):
|
|
def test_filtered_active_commit_with_filter(self):
|
|
@@ -900,7 +900,7 @@ class TestCommitWithFilters(iotests.QMPTestCase):
|
|
drv0 = next(dev for dev in blockdevs if dev['qdev'] == 'drv0')
|
|
drv0 = next(dev for dev in blockdevs if dev['qdev'] == 'drv0')
|
|
self.assertEqual(drv0['inserted']['node-name'], 'cow-2')
|
|
self.assertEqual(drv0['inserted']['node-name'], 'cow-2')
|
|
|
|
|
|
- # 3 has been comitted into 2
|
|
|
|
|
|
+ # 3 has been committed into 2
|
|
self.pattern_files[3] = self.img2
|
|
self.pattern_files[3] = self.img2
|
|
|
|
|
|
def test_filtered_active_commit_without_filter(self):
|
|
def test_filtered_active_commit_without_filter(self):
|
|
@@ -916,7 +916,7 @@ class TestCommitWithFilters(iotests.QMPTestCase):
|
|
self.assertIsNone(self.vm.node_info('cow-3'))
|
|
self.assertIsNone(self.vm.node_info('cow-3'))
|
|
self.assertIsNotNone(self.vm.node_info('cow-2'))
|
|
self.assertIsNotNone(self.vm.node_info('cow-2'))
|
|
|
|
|
|
- # 3 has been comitted into 2
|
|
|
|
|
|
+ # 3 has been committed into 2
|
|
self.pattern_files[3] = self.img2
|
|
self.pattern_files[3] = self.img2
|
|
|
|
|
|
class TestCommitWithOverriddenBacking(iotests.QMPTestCase):
|
|
class TestCommitWithOverriddenBacking(iotests.QMPTestCase):
|