From 40182cbd82430a127bfeac5d93f98e642c94e06b Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 8 Oct 2012 12:07:35 +0200 Subject: [PATCH] test: check snap_percent returns invalid For thin_volumes snap_percent is meaningless. --- test/api/thin_percent.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/api/thin_percent.c b/test/api/thin_percent.c index 952346f18..533816496 100644 --- a/test/api/thin_percent.c +++ b/test/api/thin_percent.c @@ -53,6 +53,10 @@ int main(int argc, char *argv[]) assert(v.is_valid); assert(v.value.integer == 75 * PERCENT_1); + v = lvm_lv_get_property(lv, "snap_percent"); + assert(v.is_valid); + assert(v.value.integer == PERCENT_INVALID); + lvm_vg_close(vg); lvm_quit(handle);