tests: fix handling old backup format
This commit is contained in:
parent
bc9e4d1fe5
commit
1f30a03a09
@ -469,7 +469,7 @@ class BackupTestsMixin(SystemTestsMixin):
|
|||||||
self.assertTrue(len(errors) == 0,
|
self.assertTrue(len(errors) == 0,
|
||||||
"Error(s) detected during backup_restore_do: %s" %
|
"Error(s) detected during backup_restore_do: %s" %
|
||||||
'\n'.join(errors))
|
'\n'.join(errors))
|
||||||
if not appvm:
|
if not appvm and not os.path.isdir(backupfile):
|
||||||
os.unlink(backupfile)
|
os.unlink(backupfile)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user