From 8497471a7214724eab6e5a86af65547a627a7443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 29 Feb 2016 13:22:50 +0100 Subject: [PATCH] tests: fix preparation of "small" backup storage in Debian 7 losetup Debian 7 doesn't deal with /dev/loop-control, so needs existing /dev/loop* devices. Just /dev/loop0 is enough. --- tests/backup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/backup.py b/tests/backup.py index 72463c91..69b5c597 100644 --- a/tests/backup.py +++ b/tests/backup.py @@ -184,6 +184,8 @@ class TC_10_BackupVMMixin(qubes.tests.BackupTestsMixin): vms = self.create_backup_vms() self.backupvm.start() retcode = self.backupvm.run( + # Debian 7 has too old losetup to handle loop-control device + "mknod /dev/loop0 b 7 0;" "truncate -s 50M /home/user/backup.img && " "mkfs.ext4 -F /home/user/backup.img && " "mkdir /home/user/backup && "