diff options
Diffstat (limited to 'test/shell/vgmerge-usage.sh')
-rw-r--r-- | test/shell/vgmerge-usage.sh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/test/shell/vgmerge-usage.sh b/test/shell/vgmerge-usage.sh index 17779b5..fa9bb19 100644 --- a/test/shell/vgmerge-usage.sh +++ b/test/shell/vgmerge-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, @@ -7,11 +8,13 @@ # # 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 +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # 'Test vgmerge command options for validity' +SKIP_WITH_LVMLOCKD=1 +SKIP_WITH_LVMPOLLD=1 -. lib/test +. lib/inittest aux prepare_pvs 4 @@ -21,8 +24,8 @@ vgcreate $vg1 "$dev1" "$dev2" vgcreate $vg2 "$dev3" "$dev4" vgmerge $vg1 $vg2 vgremove $vg1 -vgcreate -c n $vg2 "$dev1" "$dev2" -vgcreate -c n $vg1 "$dev3" "$dev4" +vgcreate $vg2 "$dev1" "$dev2" +vgcreate $vg1 "$dev3" "$dev4" vgmerge $vg2 $vg1 vgremove $vg2 |