From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6408 invoked by alias); 28 Feb 2008 16:48:12 -0000 Received: (qmail 6387 invoked by uid 9657); 28 Feb 2008 16:48:11 -0000 Date: Thu, 28 Feb 2008 16:48:00 -0000 Message-ID: <20080228164811.6385.qmail@sourceware.org> From: wysochanski@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/test t-vgsplit-operation.sh Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00015.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: wysochanski@sourceware.org 2008-02-28 16:48:11 Modified files: test : t-vgsplit-operation.sh Log message: Fix t-vgsplit-operation.sh lv1 definition to include test signature. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-vgsplit-operation.sh.diff?cvsroot=lvm2&r1=1.7&r2=1.8 --- LVM2/test/t-vgsplit-operation.sh 2008/01/22 03:30:14 1.7 +++ LVM2/test/t-vgsplit-operation.sh 2008/02/28 16:48:09 1.8 @@ -34,6 +34,7 @@ f4=$(pwd)/4 && d4=$(loop_setup_ "$f4") && vg1=$(this_test_)-test-vg1-$$ && vg2=$(this_test_)-test-vg2-$$ && + lv1=$(this_test_)-test-lv1-$$ && pvcreate $d1 $d2 $d3 $d4' test_expect_success \ @@ -138,7 +139,7 @@ 'pvcreate -ff -M2 $d3 $d4 && vgcreate $vg1 $d1 $d2 && vgcreate $vg2 $d3 $d4 && - lvcreate -l 4 -n lv1 $vg1 && + lvcreate -l 4 -n $lv1 $vg1 && vgsplit $vg1 $vg2 $d1 2>err; status=$?; echo status=$?; test $status = 5 && grep "^ Logical volumes in \"$vg1\" must be inactive\$" err && @@ -149,7 +150,7 @@ 'vgsplit rejects split because max_lv is exceeded' \ 'vgcreate --maxlogicalvolumes 2 $vg1 $d1 $d2 && vgcreate --maxlogicalvolumes 2 $vg2 $d3 $d4 && - lvcreate -l 4 -n lv1 $vg1 && + lvcreate -l 4 -n $lv1 $vg1 && lvcreate -l 4 -n lv2 $vg1 && lvcreate -l 4 -n lv3 $vg2 && vgchange -an $vg1 &&