Lines Matching +full:re +full:- +full:enabled
4 # Test for additional information emitted by qemu-img info on qcow2
24 import re
38 qemu_img('create', '-f', iotests.imgfmt, '-o', self.img_options,
45 '''Abstract base class for qemu-img info tests'''
52 data = qemu_img_info(test_img)['format-specific']
57 data = qemu_img('info', '--output=human', test_img).stdout.split('\n')
61 self.assertTrue(re.match('^ {4}[^ ]', field) is not None)
82 result = self.vm.qmp('query-block')['return']
84 data = drive['inserted']['image']['format-specific']
91 json_compare = { 'compat': '0.10', 'refcount-bits': 16,
92 'compression-type': 'zlib' }
105 json_compare = { 'compat': '1.1', 'lazy-refcounts': False,
106 'refcount-bits': 16, 'corrupt': False,
107 'compression-type': compression_type, 'extended-l2': False }
113 '''Testing a qcow2 version 3 image with lazy refcounts enabled'''
115 json_compare = { 'compat': '1.1', 'lazy-refcounts': True,
116 'refcount-bits': 16, 'corrupt': False,
117 'compression-type': 'zlib', 'extended-l2': False }
124 with lazy refcounts enabled'''
126 qemu_options = 'lazy-refcounts=on'
127 compare = { 'compat': '1.1', 'lazy-refcounts': False,
128 'refcount-bits': 16, 'corrupt': False,
129 'compression-type': 'zlib', 'extended-l2': False }
133 '''Testing a qcow2 version 3 image with lazy refcounts enabled, opening
142 qemu_options = 'lazy-refcounts=off'
143 compare = { 'compat': '1.1', 'lazy-refcounts': True,
144 'refcount-bits': 16, 'corrupt': False,
145 'compression-type': compression_type, 'extended-l2': False }