diff options
Diffstat (limited to 'test/shell/dlm-hello-world.sh')
-rw-r--r-- | test/shell/dlm-hello-world.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/shell/dlm-hello-world.sh b/test/shell/dlm-hello-world.sh new file mode 100644 index 000000000..3f5fc5701 --- /dev/null +++ b/test/shell/dlm-hello-world.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU General Public License v.2. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +test_description='Hello world for vgcreate with lvmlockd and dlm' + +. lib/inittest + +[ -z "$LVM_TEST_LOCK_TYPE_DLM" ] && skip; + +aux prepare_devs 1 + +vgcreate $SHARED $vg "$dev1" + +vgs -o+locktype,lockargs $vg + +check vg_field $vg vg_locktype dlm + +vgremove $vg + |