1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

test: D-Bus test_nesting requires filter

This commit is contained in:
Marian Csontos 2017-11-09 10:56:15 +01:00
parent cd3b5e60a8
commit 512b2adc77
2 changed files with 6 additions and 0 deletions

View File

@ -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"

View File

@ -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):