[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] master - test: Add cache[pool] support to lv_tree_devices_ test suite function.



Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=fdb7356d6a9be43678c9d001725aef6dca02d178
Commit:        fdb7356d6a9be43678c9d001725aef6dca02d178
Parent:        f3d1debb18cc58d36eed75ba6610e5a3ef498d12
Author:        Jonathan Brassow <jbrassow redhat com>
AuthorDate:    Mon Feb 24 10:40:00 2014 -0600
Committer:     Jonathan Brassow <jbrassow redhat com>
CommitterDate: Mon Feb 24 10:40:00 2014 -0600

test: Add cache[pool] support to lv_tree_devices_ test suite function.

---
 test/lib/get.sh |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/test/lib/get.sh b/test/lib/get.sh
index 5dd5451..babc4c9 100644
--- a/test/lib/get.sh
+++ b/test/lib/get.sh
@@ -70,6 +70,13 @@ lv_tree_devices_() {
 		lv_tree_devices_ "$1" "$(lv_field_lv_ $lv data_lv)"
 		lv_tree_devices_ "$1" "$(lv_field_lv_ $lv metadata_lv)"
 		;;
+	cache)
+		lv_tree_devices_ "$1" "$(lv_devices $lv)"
+		;;
+	cache-pool)
+		lv_tree_devices_ "$1" "$(lv_field_lv_ $lv data_lv)"
+		lv_tree_devices_ "$1" "$(lv_field_lv_ $lv metadata_lv)"
+		;;
 	esac
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]