summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2017-08-15 14:15:41 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2017-08-15 14:15:50 +0200
commitaa75ca633285339a8be50ed5e5a661ea1654f8f7 (patch)
treea1269de252236df4e525b49cedc6ea353866ef16
parent3c978f7bcc8c7d7cb473ba718a8e44523a09d02e (diff)
downloadlvm2-aa75ca633285339a8be50ed5e5a661ea1654f8f7.tar.gz
test: pvcreate-bootloaderarea: pvcreate --restorefile --bootloaderarea not supported anymore
The fact that this combination is not supported anymore is tested already in pvcreate-operation.sh test.
-rw-r--r--test/shell/pvcreate-bootloaderarea.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/shell/pvcreate-bootloaderarea.sh b/test/shell/pvcreate-bootloaderarea.sh
index 1147a3bed..f9e0929c9 100644
--- a/test/shell/pvcreate-bootloaderarea.sh
+++ b/test/shell/pvcreate-bootloaderarea.sh
@@ -55,7 +55,4 @@ check pv_field "$dev1" ba_start "262144"
check pv_field "$dev1" ba_size "786432"
check pv_field "$dev1" pe_start "1048576"
-# error out when restoring the PV and trying to use overlapping bootloader area
pvremove -ff "$dev1"
-not pvcreate --restorefile "$TESTDIR/vg_with_ba_backup" --uuid "$pv_uuid" --bootloaderareasize 1m "$dev1" 2>err
-grep "Bootloader area would overlap data area" err