Skip to contentSkip to conversation

master - test: D-Bus test_nesting requires filter

PATCH Marian Csontos 1 participant 1 message Nov 9, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=512b2adc7773d302895d01dbc1bccfb66dd94d6a
Commit:        512b2adc7773d302895d01dbc1bccfb66dd94d6a
Parent:        cd3b5e60a82f745030e2a976832a1490494851dc
Author:        Marian Csontos <[email protected]>
AuthorDate:    Thu Nov 9 10:56:15 2017 +0100
Committer:     Marian Csontos <[email protected]>
CommitterDate: Thu Nov 9 11:57:59 2017 +0100

test: D-Bus test_nesting requires filter

---
 test/api/dbustest.sh     |    3 +++
 test/dbus/lvmdbustest.py |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
test/api/dbustest.sh +3 -0
index 5817e01..9da4fe0 100644
@@ -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"
test/dbus/lvmdbustest.py +3 -0
index 3dca9d5..0914b7a 100755
@@ -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):