summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2017-11-09 10:56:15 +0100
committerMarian Csontos <mcsontos@redhat.com>2017-11-09 11:57:59 +0100
commit512b2adc7773d302895d01dbc1bccfb66dd94d6a (patch)
tree76e3aca2f3174c9b2043715f4e1710ac26a265c9
parentcd3b5e60a82f745030e2a976832a1490494851dc (diff)
downloadlvm2-512b2adc7773d302895d01dbc1bccfb66dd94d6a.tar.gz
test: D-Bus test_nesting requires filter
-rw-r--r--test/api/dbustest.sh3
-rwxr-xr-xtest/dbus/lvmdbustest.py3
2 files changed, 6 insertions, 0 deletions
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):