From d9cc3f3acb47b698bb85dc24d3bfe890426c6d7b Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 12 Oct 2012 16:54:34 +0200 Subject: [PATCH] test: use global_filter with initial content --- test/lib/aux.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/lib/aux.sh b/test/lib/aux.sh index 4b56fb6a6..07326ecee 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -410,7 +410,8 @@ lvmconf() { cat > CONFIG_VALUES <<-EOF devices/dir = "$DM_DEV_DIR" devices/scan = "$DM_DEV_DIR" -devices/filter = [ "a/dev\\\\/mirror/", "a/dev\\\\/mapper\\\\/.*pv[0-9_]*$/", "r/.*/" ] +devices/global_filter = [ "a|$DM_DEV_DIR/mirror|", "a|$DM_DEV_DIR/mapper/.*pv[0-9_]*$|", "r|.*|" ] +devices/filter = [ "a|$DM_DEV_DIR/mirror|", "a|$DM_DEV_DIR/mapper/.*pv[0-9_]*$|", "r|.*|" ] devices/cache_dir = "$TESTDIR/etc" devices/sysfs_scan = 0 devices/default_data_alignment = 1