~ubuntu-branches/debian/sid/lvm2/sid

« back to all changes in this revision

Viewing changes to test/shell/lvmetad-lvm1.sh

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2014-08-19 15:37:06 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20140819153706-i1gaio8lg534dara
Tags: 2.02.109-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# along with this program; if not, write to the Free Software Foundation,
10
10
# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
11
11
 
12
 
. lib/test
 
12
. lib/inittest
13
13
 
14
14
test -e LOCAL_LVMETAD || skip
15
15
aux prepare_devs 2
20
20
should vgscan --cache
21
21
vgs | should grep $vg1
22
22
pvs | should grep "$dev1"
 
23
 
 
24
# check for RHBZ 1080189 -- SEGV in lvremove/vgremove
 
25
pvcreate -ff -y --metadatatype 1 "$dev1" "$dev2"
 
26
vgcreate --metadatatype 1 $vg1 "$dev1" "$dev2"
 
27
lvcreate -l1 $vg1
 
28
pvremove -ff -y $dev2
 
29
vgchange -an $vg1
 
30
not lvremove $vg1
 
31
not vgremove -ff -y $vg1