From: Zdenek Kabelac Date: Mon, 18 Jul 2011 12:12:41 +0000 (+0000) Subject: Better version of failing 'should' test X-Git-Tag: v2_02_91~745 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=80869133f2cbfc9ce252257a844c376d16f9dd0a;p=lvm2.git Better version of failing 'should' test where the naming is left completely on lvm. (Commited code has been different version of test). So here it should be able to figure out new free name and create a new LV. --- diff --git a/test/t-lvcreate-repair.sh b/test/t-lvcreate-repair.sh index 250010548..5844fb947 100644 --- a/test/t-lvcreate-repair.sh +++ b/test/t-lvcreate-repair.sh @@ -71,7 +71,7 @@ done dd if="$dev1" of=backup_i bs=256K count=1 dd if="$dev2" of=backup_j bs=256K count=1 -lvcreate -l1 -n $lv1 $vg $dev1 +lvcreate -l1 $vg $dev1 dd if=backup_j of="$dev2" bs=256K count=1 dd if=backup_i of="$dev1" bs=256K count=1 @@ -94,4 +94,4 @@ vgreduce --removemissing --force $vg # device-mapper: create ioctl failed: Device or resource busy # Failed to activate new LV. -should lvcreate -l1 -n $lv1 $vg $dev1 +should lvcreate -l1 $vg $dev1