Imported Upstream version 2.02.79
[platform/upstream/device-mapper.git] / test / t-lvmcache-exercise.sh
1 # Copyright (C) 2008 Red Hat, Inc. All rights reserved.
2 #
3 # This copyrighted material is made available to anyone wishing to use,
4 # modify, copy, or redistribute it subject to the terms and conditions
5 # of the GNU General Public License v.2.
6 #
7 # You should have received a copy of the GNU General Public License
8 # along with this program; if not, write to the Free Software Foundation,
9 # Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
10
11 . ./test-utils.sh
12
13 aux prepare_pvs 5
14
15 vgcreate $vg1 $dev1
16 vgcreate $vg2 $dev3
17
18 disable_dev $dev1
19 pvscan
20 vgcreate $vg1 $dev2
21 enable_dev $dev1
22 pvs
23 pvs