Version 2.02.97 -
===============================
+ Respect --test also when using lvmetad.
No longer capitalise first LV attribute char for invalid snapshots.
Allow vgextend to add PVs to a VG that is missing PVs.
Recognise Micron PCIe SSDs in filter and move array out to device-types.h.
if (!vg)
return 0;
- if (!_using_lvmetad)
+ if (!_using_lvmetad || test_mode())
return 1; /* fake it */
/* TODO. This is not entirely correct, since export_vg_to_buffer
daemon_reply reply;
int result;
- if (!_using_lvmetad)
+ if (!_using_lvmetad || test_mode())
return 1; /* just fake it */
if (!id_write_format(&vg->id, uuid, sizeof(uuid)))
const char *status;
int result;
- if (!_using_lvmetad)
+ if (!_using_lvmetad || test_mode())
return 1;
if (!id_write_format(&pvid, uuid, sizeof(uuid)))
int result;
int found;
- if (!_using_lvmetad)
+ if (!_using_lvmetad || test_mode())
return 1;
/*