summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-08-27 14:04:21 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2012-08-27 14:04:21 +0200
commit2a70e98b05603bf8fc59929fd2709fb5d2b859e6 (patch)
tree837f4369440f755348d54928c21d2666347c4e83
parentc68c15757384e6cebd7667139661ab643eebbfbe (diff)
downloadlvm2-2a70e98b05603bf8fc59929fd2709fb5d2b859e6.zip
lvm2-2a70e98b05603bf8fc59929fd2709fb5d2b859e6.tar.gz
lvm2-2a70e98b05603bf8fc59929fd2709fb5d2b859e6.tar.xz
test: snapshot_extend_threshold -> snapshot_autoextend_threshold
Missing the "auto" prefix in the config key name. The unknown setting is silently ignored otherwise.
-rw-r--r--test/shell/lvextend-snapshot-dmeventd.sh2
-rw-r--r--test/shell/lvextend-snapshot-policy.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/shell/lvextend-snapshot-dmeventd.sh b/test/shell/lvextend-snapshot-dmeventd.sh
index fc3e30a..98bec19 100644
--- a/test/shell/lvextend-snapshot-dmeventd.sh
+++ b/test/shell/lvextend-snapshot-dmeventd.sh
@@ -12,7 +12,7 @@
. lib/test
extend() {
- lvextend --use-policies --config "activation { snapshot_extend_threshold = $1 }" $vg/snap
+ lvextend --use-policies --config "activation { snapshot_autoextend_threshold = $1 }" $vg/snap
}
write_() {
diff --git a/test/shell/lvextend-snapshot-policy.sh b/test/shell/lvextend-snapshot-policy.sh
index f5fdcbe..2f5d84b 100644
--- a/test/shell/lvextend-snapshot-policy.sh
+++ b/test/shell/lvextend-snapshot-policy.sh
@@ -14,7 +14,7 @@
which mkfs.ext2 || skip
extend() {
- lvextend --use-policies --config "activation { snapshot_extend_threshold = $1 }" $vg/snap
+ lvextend --use-policies --config "activation { snapshot_autoextend_threshold = $1 }" $vg/snap
}
write() {