Skip to contentSkip to conversation

master - test: pvcreate-bootloaderarea: pvcreate --restorefile --bootloaderarea not supported anymore

PATCH Peter Rajnoha 1 participant 1 message Aug 15, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=aa75ca633285339a8be50ed5e5a661ea1654f8f7
Commit:        aa75ca633285339a8be50ed5e5a661ea1654f8f7
Parent:        3c978f7bcc8c7d7cb473ba718a8e44523a09d02e
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Tue Aug 15 14:15:41 2017 +0200
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Tue Aug 15 14:15:50 2017 +0200

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.

---
 test/shell/pvcreate-bootloaderarea.sh |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
test/shell/pvcreate-bootloaderarea.sh +0 -3
index 1147a3b..f9e0929 100644
@@ -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