mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
lvmdbustest.py: Add blurb about scan_lvs = 1
When developing and testing on a local system, to get the unit test to pass the test_nesting test, editing the test conf will achieve the success too.
This commit is contained in:
parent
b0286fa127
commit
b7c64fe8e2
@ -1871,6 +1871,10 @@ class TestDbusService(unittest.TestCase):
|
||||
#
|
||||
# NOTE: This needs an equivalent of aux extend_filter_LVMTEST
|
||||
# when run from lvm2 testsuite. See dbustest.sh.
|
||||
# Also if developing locally with actual devices one can achieve this
|
||||
# by editing lvm.conf with "devices/scan_lvs = 1" As testing
|
||||
# typically utilizes loopback, this test is skipped in
|
||||
# those environments.
|
||||
pv_object_path = self.objs[PV_INT][0].object_path
|
||||
|
||||
if not self.objs[PV_INT][0].Pv.Name.startswith("/dev"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user