Import lvm2 from NetBSD
[dragonfly.git] / contrib / lvm2 / dist / test / t-lvm-init.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 #
12 # tests lvm initialization, and especially negative tests of error paths
13 #
14
15 . ./test-utils.sh
16
17 aux prepare_devs 5
18
19 # invalid units
20 not pvs --config 'global { units = "<" }'
21