Skip to contentSkip to conversation

master - tests: add test for 454782f (select with synonyms for string field types)

PATCH Peter Rajnoha 1 participant 1 message Jul 2, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=eaa0d927a4490c632b02a223cb426d7e483d9055
Commit:        eaa0d927a4490c632b02a223cb426d7e483d9055
Parent:        454782f1a3cf41148711773ae820e646bd2fd95f
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Thu Jul 2 11:46:58 2015 +0200
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Thu Jul 2 11:46:58 2015 +0200

tests: add test for 454782f (select with synonyms for string field types)

---
 test/shell/select-report.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
test/shell/select-report.sh +2 -0
index a79457e..cd3f452 100644
@@ -185,6 +185,8 @@ sel lv 'lv_minor=undefined' vol1 vol2 abc orig snap
 sel lv 'lv_minor=undef' vol1 vol2 abc orig snap
 sel lv 'lv_minor=unknown' vol1 vol2 abc orig snap
 sel lv 'lv_minor=254' xyz
+# also test synonym for string field type
+sel lv 'seg_monitor=undefined' vol1 vol2 abc abc orig snap xyz
 
 # if size unit not spefied, the 'm' (MiB) unit is used by default
 sel lv 'lv_size=8' vol1