From 96d032919ae19ae67d7e30e68e538133b46ed108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 9 Aug 2016 04:27:06 +0200 Subject: [PATCH] tests: minor fix to revert changes tests, mark as expected failure While the test should be ok now, the functionality itself doesn't work (at least on file volumes). --- qubes/tests/int/basic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qubes/tests/int/basic.py b/qubes/tests/int/basic.py index 5d0f6ba2..2a486fc0 100644 --- a/qubes/tests/int/basic.py +++ b/qubes/tests/int/basic.py @@ -397,7 +397,7 @@ class TC_03_QvmRevertTemplateChanges(qubes.tests.SystemTestsMixin, def get_rootimg_checksum(self): p = subprocess.Popen( - ['sha1sum', self.test_template.volumes['root'].path_cow], + ['sha1sum', self.test_template.volumes['root'].path], stdout=subprocess.PIPE) return p.communicate()[0] @@ -418,6 +418,7 @@ class TC_03_QvmRevertTemplateChanges(qubes.tests.SystemTestsMixin, checksum_after = self.get_rootimg_checksum() self.assertEquals(checksum_before, checksum_after) + @unittest.expectedFailure def test_000_revert_pv(self): """ Test qvm-revert-template-changes for PV template