From cc8178e91165ff987c089e82024076fef77962cb Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 4 Sep 2023 14:24:22 +0200 Subject: [PATCH] tests: check for binaries vdo wrapper tool uses some 'locally installed' binaries for vdoformat and vdoprepareforlvm Chech for their presence. Skip this test with lvmlockd. --- test/shell/vdo-scsi-convert.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/shell/vdo-scsi-convert.sh b/test/shell/vdo-scsi-convert.sh index 22f5618ac..d0ba0459f 100644 --- a/test/shell/vdo-scsi-convert.sh +++ b/test/shell/vdo-scsi-convert.sh @@ -12,7 +12,7 @@ # Test conversion of VDO volumes made by vdo manager into VDO LV. - +SKIP_WITH_LVMLOCKD=1 SKIP_WITH_LVMPOLLD=1 . lib/inittest @@ -30,6 +30,8 @@ aux have_vdo 6 2 3 || skip if not which vdo ; then which lvm_vdo_wrapper || skip "Missing 'lvm_vdo_wrapper'." + which oldvdoformat || skip "Emulation of vdo manager 'oldvdoformat' missing." + which oldvdoprepareforlvm || skip "Emulation of vdo manager 'oldvdoprepareforlvm' missing." # enable expansion of aliasis within script itself shopt -s expand_aliases alias vdo='lvm_vdo_wrapper' -- 2.43.5