master - tests: more pvresize tests
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=04861b9bed41a2e907fca6f71acbf4c39cfebfd5 Commit: 04861b9bed41a2e907fca6f71acbf4c39cfebfd5 Parent: db04d3e6d29dde331a88eec2cec5249ee7c211f0 Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon Mar 24 10:00:39 2014 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Mar 25 11:22:59 2014 +0100
tests: more pvresize tests
Maybe move to separate pvresize test,
remove vgck size this is already executed elsewhere.
--- test/shell/covercmd.sh | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
test/shell/covercmd.sh +5 -1
@@ -77,7 +77,6 @@ for i in pr "p rw" an ay "-monitor y" "-monitor n" \ done pvck "$dev1" -vgck $vg vgs -o all $vg lvrename $vg $lv $lv-rename vgcfgbackup -f backup.$$ $vg
@@ -87,7 +86,12 @@ pvremove -y -ff "$dev5" not vgcfgrestore -f backup.$$ $vg pvcreate -u $TEST_UUID --restorefile backup.$$ "$dev5" vgremove -f $vg + +# test pvresize functionality +not pvresize +not pvresize --setphysicalvolumesize -10M "$dev1" pvresize --setphysicalvolumesize 10M "$dev1" +pvresize "$dev1" # test various errors and obsoleted tools not lvmchange