From 512b2adc7773d302895d01dbc1bccfb66dd94d6a Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Thu, 9 Nov 2017 10:56:15 +0100 Subject: [PATCH] test: D-Bus test_nesting requires filter --- test/api/dbustest.sh | 3 +++ test/dbus/lvmdbustest.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/test/api/dbustest.sh b/test/api/dbustest.sh index 5817e01f9..9da4fe069 100644 --- a/test/api/dbustest.sh +++ b/test/api/dbustest.sh @@ -18,6 +18,9 @@ SKIP_WITH_CLVMD=1 aux prepare_pvs 6 +# Required by test_nesting: +aux extend_filter_LVMTEST + # We need the lvmdbusd.profile for the daemon to utilize JSON # output mkdir -p "$TESTDIR/etc/profile" diff --git a/test/dbus/lvmdbustest.py b/test/dbus/lvmdbustest.py index 3dca9d532..0914b7a52 100755 --- a/test/dbus/lvmdbustest.py +++ b/test/dbus/lvmdbustest.py @@ -1868,6 +1868,9 @@ class TestDbusService(unittest.TestCase): def test_nesting(self): # check to see if we handle an LV becoming a PV which has it's own # LV + # + # NOTE: This needs an equivalent of aux extend_filter_LVMTEST + # when run from lvm2 testsuite. See dbustest.sh. pv_object_path = self.objs[PV_INT][0].object_path for i in range(0, 5):