Skip to contentSkip to conversation

master - test: snapshot_extend_threshold -> snapshot_autoextend_threshold

PATCH Peter Rajnoha 1 participant 1 message Aug 27, 2012

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=2a70e98b05603bf8fc59929fd2709fb5d2b859e6
Commit:        2a70e98b05603bf8fc59929fd2709fb5d2b859e6
Parent:        c68c15757384e6cebd7667139661ab643eebbfbe
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Mon Aug 27 14:04:21 2012 +0200
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Mon Aug 27 14:04:21 2012 +0200

test: snapshot_extend_threshold -> snapshot_autoextend_threshold

Missing the "auto" prefix in the config key name. The unknown setting is silently ignored otherwise.

---
 test/shell/lvextend-snapshot-dmeventd.sh |    2 +-
 test/shell/lvextend-snapshot-policy.sh   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
test/shell/lvextend-snapshot-dmeventd.sh +1 -1
index fc3e30a..98bec19 100644
@@ -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_() {
test/shell/lvextend-snapshot-policy.sh +1 -1
index f5fdcbe..2f5d84b 100644
@@ -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() {