]> sourceware.org Git - lvm2.git/commitdiff
tests: check for binaries
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 4 Sep 2023 12:24:22 +0000 (14:24 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 4 Sep 2023 15:48:41 +0000 (17:48 +0200)
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

index 22f5618acda520c869e4b2c70650c559d9f6ad17..d0ba0459f53837c8ac8b88510deca11a0d1e4563 100644 (file)
@@ -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'
This page took 0.036523 seconds and 5 git commands to generate.