From: Petr Rockai Date: Fri, 24 Apr 2009 08:00:48 +0000 (+0000) Subject: Avoid scanning non-PV devices in functional tests, otherwise lvconvert --repair X-Git-Tag: old-v2_02_46~55 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=01c2d76c545ba2ace0dc3fd52cdddd47622bb03a;p=lvm2.git Avoid scanning non-PV devices in functional tests, otherwise lvconvert --repair breaks for some reason -- possibly needs investagation, but this should fix it in the meantime. --- diff --git a/test/test-utils.sh b/test/test-utils.sh index a00b64e31..daf2f5544 100644 --- a/test/test-utils.sh +++ b/test/test-utils.sh @@ -179,7 +179,7 @@ prepare_lvmconf() { devices { dir = "$G_dev_" scan = "$G_dev_" - filter = [ "a/dev\/mirror/", "a/dev\/mapper/", "r/.*/" ] + filter = [ "a/dev\/mirror/", "a/dev\/mapper\/.*pv[0-9_]*$/", "r/.*/" ] cache_dir = "$G_root_/etc" sysfs_scan = 0 }