1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

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

This commit is contained in:
Jonathan Brassow 2014-02-24 10:40:00 -06:00
parent f3d1debb18
commit fdb7356d6a

View File

@ -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
}