summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2016-05-05 21:35:19 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2016-05-05 23:55:20 +0200
commit7bb39af03630beb91acd457b9d949f7ecfa0e75e (patch)
tree9b35aa1512908b803ed3165029cfe9f37fddc8e8
parent95f0e25601155755baf4ea1649cd241949120185 (diff)
downloadlvm2-7bb39af03630beb91acd457b9d949f7ecfa0e75e.tar.gz
tests: check default policy is used when unspecified
If the policy is not given with policy settings we assume the default one is going to be used - it's users responsibility to pair them properly.
-rw-r--r--test/shell/lvcreate-cache.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/shell/lvcreate-cache.sh b/test/shell/lvcreate-cache.sh
index 8f35f9347..fbea5b807 100644
--- a/test/shell/lvcreate-cache.sh
+++ b/test/shell/lvcreate-cache.sh
@@ -229,7 +229,7 @@ fail lvcreate -H -L10 --chunksize 16M $vg/cpool4
lvremove -f $vg
lvcreate --type cache-pool -L10 $vg/cpool
-lvcreate --type cache -l 1 --cachepool $vg/cpool -n corigin $vg --cachepolicy mq --cachesettings migration_threshold=233
+lvcreate --type cache -l 1 --cachepool $vg/cpool -n corigin $vg --cachesettings migration_threshold=233
dmsetup status | grep $vg
dmsetup status | grep $vg-corigin | grep 'migration_threshold 233'
lvchange -an $vg