tests: fix preparing multi-part disk volume
Storing encrypted filename into f_name shadowed unencrypted source file name.
This commit is contained in:
parent
93608658a9
commit
af13c198be
@ -1203,9 +1203,9 @@ class TC_10_BackupCompatibility(qubesadmin.tests.backup.BackupTestCase):
|
|||||||
part):
|
part):
|
||||||
continue
|
continue
|
||||||
part_with_dir = os.path.join(subdir, part)
|
part_with_dir = os.path.join(subdir, part)
|
||||||
f_name = self.scrypt_encrypt(part_with_dir,
|
f_name_enc = self.scrypt_encrypt(part_with_dir,
|
||||||
basedir=self.fullpath('stage1'))
|
basedir=self.fullpath('stage1'))
|
||||||
self.append_backup_stream(f_name, stream,
|
self.append_backup_stream(f_name_enc, stream,
|
||||||
basedir=self.fullpath("stage1"))
|
basedir=self.fullpath("stage1"))
|
||||||
|
|
||||||
def create_v3_backup(self, encrypted=True, compressed=True):
|
def create_v3_backup(self, encrypted=True, compressed=True):
|
||||||
|
Loading…
Reference in New Issue
Block a user