tests/integ/basic: use export() in get_rootimg_checksum()
volume.path and volume.export() refer to the same thing in lvm_thin and 'file', but not in file-reflink (where volume.path is the -dirty.img, which doesn't exist if the volume is not started).
This commit is contained in:
parent
49e7ce025f
commit
8c117549ad
@ -572,7 +572,7 @@ class TC_03_QvmRevertTemplateChanges(qubes.tests.SystemTestCase):
|
||||
|
||||
def get_rootimg_checksum(self):
|
||||
return subprocess.check_output(
|
||||
['sha1sum', self.test_template.volumes['root'].path]).\
|
||||
['sha1sum', self.test_template.volumes['root'].export()]).\
|
||||
decode().split(' ')[0]
|
||||
|
||||
def _do_test(self):
|
||||
|
Loading…
Reference in New Issue
Block a user