summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2014-06-17 18:19:59 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2014-06-17 18:20:08 +0200
commitef43a50926d0590910798dd366f6b8da548b05a3 (patch)
treec0e6c8e90e8e8846cdc99067323ddc4ec12aaf2a
parentd09590c4b601f261d164fd253c7f2b9864cbf7ab (diff)
downloadlvm2-ef43a50926d0590910798dd366f6b8da548b05a3.tar.gz
tests: update lvcreate-thin for latest changes
With recent changes introduced with the report selection support, the content of lv_modules field is of string list type (before it was just string type). String list elements are always ordered now so update lvcreate-thin test to expect the elements to be ordered.
-rw-r--r--test/shell/lvcreate-thin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/shell/lvcreate-thin.sh b/test/shell/lvcreate-thin.sh
index 971265229..215bfacd3 100644
--- a/test/shell/lvcreate-thin.sh
+++ b/test/shell/lvcreate-thin.sh
@@ -146,7 +146,7 @@ lvcreate --type snapshot $vg/lv1 --name lv4
lvcreate --type snapshot $vg/lv1 --name $vg/lv5
lvdisplay --maps $vg
-check_lv_field_modules_ thin-pool,thin lv1 snap_lv1 lv2 lv3 lv4 lv5 lv6
+check_lv_field_modules_ thin,thin-pool lv1 snap_lv1 lv2 lv3 lv4 lv5 lv6
check vg_field $vg lv_count 8
lvremove -ff $vg