Skip to contentSkip to conversation

master - test: pvs bz1108394

PATCH Zdenek Kabelac 1 participant 1 message Jun 12, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=cf4d5ead0210aa12dfd73fed2061d4d9febce827
Commit:        cf4d5ead0210aa12dfd73fed2061d4d9febce827
Parent:        eb316fec33e3866b92357a8aab1dd7a3c4b86075
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jun 12 11:31:21 2014 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jun 12 11:56:06 2014 +0200

test: pvs bz1108394

---
 test/shell/pvremove-usage.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
test/shell/pvremove-usage.sh +4 -0
index 3ebfd15..52d26a6 100644
@@ -23,6 +23,10 @@ pvremove "$dev2"
 # failing, but still removing everything what can be removed
 # is somewhat odd as default, what do we have -f for?
 pvs | not grep "$dev2"
+pvs -a | grep "$dev2"
+# bz1108394 no crash on nonPV label listing
+pvs -a -o+devices
+
 pvcreate  --metadatacopies 0 "$dev2"
 
 # check pvremove refuses to remove pv in a vg