X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=766327ee09ddeaf2a4744aca1c9cf00e85031bff;hp=14cf462afcc2a144922925e9fca69adf08306f2a;hb=c24de46d06cc3ecccf00bfaaffb06172659cdd0a;hpb=41ee105aabaf1e9a7efc437b87d9536d3dc14a75 diff --git a/src/generator.ml b/src/generator.ml index 14cf462..766327e 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -2585,7 +2585,14 @@ are activated or deactivated."); ["e2fsck_f"; "/dev/VG/LV"]; ["resize2fs"; "/dev/VG/LV"]; ["mount_options"; ""; "/dev/VG/LV"; "/"]; - ["cat"; "/new"]], "test content")], + ["cat"; "/new"]], "test content"); + InitNone, Always, TestRun ( + (* Make an LV smaller to test RHBZ#587484. *) + [["part_disk"; "/dev/sda"; "mbr"]; + ["pvcreate"; "/dev/sda1"]; + ["vgcreate"; "VG"; "/dev/sda1"]; + ["lvcreate"; "LV"; "VG"; "20"]; + ["lvresize"; "/dev/VG/LV"; "10"]])], "resize an LVM logical volume", "\ This resizes (expands or shrinks) an existing LVM logical