Skip to contentSkip to conversation

master - tests: lvresize with zero arg

PATCH Zdenek Kabelac 1 participant 1 message Feb 25, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=23a4801dbcc4d351db6c251685e08f3fec30cbdd
Commit:        23a4801dbcc4d351db6c251685e08f3fec30cbdd
Parent:        1a9f743eefbe8d86f6a23838789c21136f02cdcd
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Feb 25 21:58:43 2016 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Feb 25 23:30:26 2016 +0100

tests: lvresize with zero arg

---
 test/shell/lvresize-usage.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
test/shell/lvresize-usage.sh +3 -1
index 13f4e1f..a136147 100644
@@ -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