summaryrefslogtreecommitdiff
path: root/test/shell/pvcreate-ff.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/shell/pvcreate-ff.sh')
-rw-r--r--test/shell/pvcreate-ff.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/shell/pvcreate-ff.sh b/test/shell/pvcreate-ff.sh
new file mode 100644
index 0000000..13b05fc
--- /dev/null
+++ b/test/shell/pvcreate-ff.sh
@@ -0,0 +1,23 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2014 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+SKIP_WITH_LVMLOCKD=1
+SKIP_WITH_LVMPOLLD=1
+
+. lib/inittest
+
+aux prepare_devs 2
+pvcreate "$dev1"
+vgcreate foo "$dev1"
+pvcreate -ff -y "$dev1"
+vgs
+vgcreate foo "$dev1"