diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 07d9f437b..2bffb0704 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -763,6 +763,9 @@ static int _lvconvert_poll_by_id(struct cmd_context *cmd, struct poll_operation_ int is_merging_origin, int is_merging_origin_thin) { + if (test_mode()) + return ECMD_PROCESSED; + if (is_merging_origin) return poll_daemon(cmd, background, (MERGING | (is_merging_origin_thin ? THIN_VOLUME : SNAPSHOT)),