~ubuntu-branches/debian/stretch/lvm2/stretch

« back to all changes in this revision

Viewing changes to test/shell/vgck.sh

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2014-08-19 15:37:06 UTC
  • mfrom: (30.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20140819153706-0p2sc6a53ef7xnvl
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
aux prepare_vg 3
15
15
lvcreate -n blabla -L 1 $vg
18
18
 
19
19
# TODO: aux lvmconf "global/locking_type = 4"
20
20
 
 
21
vgscan 2>&1 | tee vgscan.out
 
22
 
21
23
if test -e LOCAL_LVMETAD; then
22
 
    vgscan 2>&1 | tee vgscan.out
23
24
    not grep "Inconsistent metadata found for VG $vg" vgscan.out
24
25
else
25
 
    not vgscan 2>&1 | tee vgscan.out
26
26
    grep "Inconsistent metadata found for VG $vg" vgscan.out
27
27
fi
28
28