Skip to contentSkip to conversation

master - tests: use should for failing test

PATCH Zdenek Kabelac 1 participant 1 message Apr 18, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=50633039bfb5ef9a89e419ca7ad7ad49304d1c0d
Commit:        50633039bfb5ef9a89e419ca7ad7ad49304d1c0d
Parent:        59b0bd7b6445d0c09568eae4cbf75577ce190803
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Apr 18 23:12:05 2016 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Apr 18 23:12:05 2016 +0200

tests: use should for failing test

It's better to use 'should' for failing test before it gets fixed, when we ignore failing result.

---
 test/shell/lvmetad-lvm1.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
test/shell/lvmetad-lvm1.sh +2 -2
index 9720833..824c1d5 100644
@@ -19,11 +19,11 @@ SKIP_WITH_LVMPOLLD=1
 
 aux prepare_devs 2
 pvcreate --metadatatype 1 "$dev1"
-vgscan --cache
+should not vgscan --cache
 pvs | tee out
 not grep "$dev1" out
 vgcreate --metadatatype 1 $vg1 "$dev1"
-vgscan --cache
+should not vgscan --cache
 vgs | tee out
 not grep $vg1 out
 pvs | tee out