mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-05 08:48:05 +02:00
test: Disable systemd v251 sysfs verification
The umockdev code to disable it by setting the variable does not propagate through python. Set the variable here until there is a more permament solution available.
This commit is contained in:
parent
190d12e292
commit
c330351937
1 changed files with 2 additions and 0 deletions
|
|
@ -190,6 +190,8 @@ class Tests(dbusmock.DBusTestCase):
|
|||
# note: Python doesn't propagate the setenv from Testbed.new(), so we
|
||||
# have to do that ourselves
|
||||
env['UMOCKDEV_DIR'] = self.testbed.get_root_dir()
|
||||
# Hotfix for https://github.com/systemd/systemd/issues/23499
|
||||
env['SYSTEMD_DEVICE_VERIFY_SYSFS'] = '0'
|
||||
self.daemon_log = OutputChecker()
|
||||
|
||||
if os.getenv('VALGRIND') != None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue