[lvm-devel] [PATCH 2 of 12] LVM: testsuite fixes 2

Petr Rockai prockai at redhat.com
Tue Mar 23 18:03:33 UTC 2010


Hi,

Jonathan Brassow <jbrassow at redhat.com> writes:
> Flip the 'not' on a test that should be working.
>
> Index: LVM2/test/t-lvconvert-repair.sh
> ===================================================================
> --- LVM2.orig/test/t-lvconvert-repair.sh
> +++ LVM2/test/t-lvconvert-repair.sh
> @@ -69,5 +69,5 @@ vgextend $vg $dev3
>  lvcreate -m 2 -l 1 -n mirror2 $vg $dev1 $dev2 $dev3 $dev4
>  vgchange -a n $vg
>  pvremove -ff -y $dev4
> -echo 'y' | not lvconvert -y -i 1 --repair $vg/mirror2
> +echo 'y' | lvconvert -y -i 1 --repair $vg/mirror2
>  vgs
now, this is interesting. Any idea why the lvconvert used to fail and
now passes?  It seems there's $dev5 around, so this should be used for
the repair... I'll look at the later patches, maybe that'll explain...

Yours,
   Petr.




More information about the lvm-devel mailing list