[Pkg-libvirt-commits] [libguestfs] 13/29: tests: do not init a partition for btrfs-image tests

Hilko Bengen bengen at moszumanska.debian.org
Sun Nov 1 17:15:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag upstream/1.29.49
in repository libguestfs.

commit d9fc0656b27fd26a6574407c2e620ab729d951cb
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Thu Jul 2 11:25:06 2015 +0200

    tests: do not init a partition for btrfs-image tests
    
    They create an own partition layout, so don't do that over the
    testing-created layout.
    
    At least for me, this fixes parted issues when creating the new
    partition layout and the old one is still reported as in use.
    
    Followup/fix for commit 52d1b0c593e87cb5d696dcc9d96ad6489c9bed00.
---
 generator/actions.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generator/actions.ml b/generator/actions.ml
index b1865e0..db628ef 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -12578,7 +12578,7 @@ This enable skinny metadata extent refs." };
     proc_nr = Some 453;
     optional = Some "btrfs"; camel_name = "BTRFSImage";
     tests = [
-      InitPartition, Always, TestRun (
+      InitEmpty, Always, TestRun (
         [["part_init"; "/dev/sda"; "mbr"];
          ["part_add"; "/dev/sda"; "p"; "64"; "204799"];
          ["part_add"; "/dev/sda"; "p"; "204800"; "409599"];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list