Skip to contentSkip to conversation

LVM2/test/shell pvcreate-operation.sh

PATCH [email protected] 1 participant 1 message May 9, 2012

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha at sourceware.org 2012-05-09 14:44:59

Modified files:
test/shell : pvcreate-operation.sh

Log message:
Remove VG/PV used in the test.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/shell/pvcreate-operation.sh.diff?cvsroot=lvm2&r1=1.3&r2=1.4

test/shell/pvcreate-operation.sh +2 -0
@@ -118,6 +118,8 @@
 vgcreate $vg1 $dev1
 vgcfgbackup -f $backupfile
 vgcfgrestore -f $backupfile $vg1
+vgremove -f $vg1
+pvremove -f $dev1
 
 # pvcreate wipes swap signature when forced
 dd if=/dev/zero of="$dev1" bs=1024 count=64