tests: add a simple dom0 backup test
Regression test for: QubesOS/qubes-issues#1515 It assumes existing broken symlink in user dom0 home. Thanks for systemd it is the case (`~/.local/share/systemd/user`).
This commit is contained in:
parent
ba3b908b73
commit
24ad20cfe6
@ -63,7 +63,6 @@ class TC_00_Backup(qubes.tests.BackupTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
self.restore_backup()
|
self.restore_backup()
|
||||||
self.remove_vms(vms)
|
self.remove_vms(vms)
|
||||||
|
|
||||||
|
|
||||||
def test_004_sparse_multipart(self):
|
def test_004_sparse_multipart(self):
|
||||||
vms = []
|
vms = []
|
||||||
|
|
||||||
@ -92,6 +91,10 @@ class TC_00_Backup(qubes.tests.BackupTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
self.restore_backup()
|
self.restore_backup()
|
||||||
self.remove_vms(vms)
|
self.remove_vms(vms)
|
||||||
|
|
||||||
|
def test_100_backup_dom0_no_restore(self):
|
||||||
|
self.make_backup([self.qc[0]])
|
||||||
|
# TODO: think of some safe way to test restore...
|
||||||
|
|
||||||
def test_200_restore_over_existing_directory(self):
|
def test_200_restore_over_existing_directory(self):
|
||||||
"""
|
"""
|
||||||
Regression test for #1386
|
Regression test for #1386
|
||||||
|
Loading…
Reference in New Issue
Block a user