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:
parent
ff13206c7e
commit
40182cbd82
@ -53,6 +53,10 @@ int main(int argc, char *argv[])
|
|||||||
assert(v.is_valid);
|
assert(v.is_valid);
|
||||||
assert(v.value.integer == 75 * PERCENT_1);
|
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_vg_close(vg);
|
||||||
lvm_quit(handle);
|
lvm_quit(handle);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user