diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-02-25 21:58:43 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-02-25 23:30:26 +0100 |
commit | 23a4801dbcc4d351db6c251685e08f3fec30cbdd (patch) | |
tree | 5facc5a4c0df9f8063820c86cb1a73c3d073264a /test | |
parent | 1a9f743eefbe8d86f6a23838789c21136f02cdcd (diff) | |
download | lvm2-23a4801dbcc4d351db6c251685e08f3fec30cbdd.tar.gz |
tests: lvresize with zero arg
Diffstat (limited to 'test')
-rw-r--r-- | test/shell/lvresize-usage.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/shell/lvresize-usage.sh b/test/shell/lvresize-usage.sh index 13f4e1f87..a136147c8 100644 --- a/test/shell/lvresize-usage.sh +++ b/test/shell/lvresize-usage.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2007-2014 Red Hat, Inc. All rights reserved. +# Copyright (C) 2007-2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions @@ -18,6 +18,8 @@ aux prepare_vg 2 80 lvcreate -L 10M -n lv -i2 $vg lvresize -l +4 $vg/lv +not lvextend -L+0 $vg/lv +not lvextend -l+0 $vg/lv lvremove -ff $vg lvcreate -L 64M -n $lv -i2 $vg |