From f2d79b9379299dafe08e3bf13fd7e71e3397f694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 29 Sep 2016 01:58:21 +0200 Subject: [PATCH] tests/backup: use round volume size When handling LVM volumes, size must be multiply of 4MB. --- qubes/tests/int/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/tests/int/backup.py b/qubes/tests/int/backup.py index 0e04d034..45017b5f 100644 --- a/qubes/tests/int/backup.py +++ b/qubes/tests/int/backup.py @@ -89,9 +89,9 @@ class BackupTestsMixin(qubes.tests.SystemTestsMixin): f.seek(0) for block_num in range(size/block_size): - f.write('a' * block_size) if sparse: f.seek(block_size, 1) + f.write('a' * block_size) f.close()