diff options
Diffstat (limited to 'test/shell/test-partition.sh')
-rw-r--r-- | test/shell/test-partition.sh | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/test/shell/test-partition.sh b/test/shell/test-partition.sh index f7e91b8..0e92f00 100644 --- a/test/shell/test-partition.sh +++ b/test/shell/test-partition.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, @@ -7,7 +8,7 @@ # # 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 # # Testcase for bugzilla #621173 @@ -15,9 +16,12 @@ # + +SKIP_WITH_LVMPOLLD=1 + LVM_TEST_CONFIG_DEVICES="types = [\"device-mapper\", 142]" -. lib/test +. lib/inittest which sfdisk || skip @@ -26,6 +30,6 @@ aux prepare_pvs 1 30 pvs "$dev1" # create small partition table -echo "1 2" | sfdisk "$dev1" +echo "1 2" | sfdisk --force "$dev1" -pvs "$dev1" +not pvs "$dev1" |