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

test: check snap_percent returns invalid

For thin_volumes snap_percent is meaningless.
This commit is contained in:
Zdenek Kabelac 2012-10-08 12:07:35 +02:00
parent ff13206c7e
commit 40182cbd82

View File

@ -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);