diff options
author | Benjamin Berg <bberg@redhat.com> | 2022-05-25 16:53:34 +0200 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2022-05-25 16:57:21 +0200 |
commit | c330351937090e4c23918c193332735c88e7ad40 (patch) | |
tree | d260fc35ad5eff8bd6e0d1fe95c217321fa2d2b3 | |
parent | 190d12e2929ea40327c6dcae073ed582dcea9f66 (diff) | |
download | upower-c330351937090e4c23918c193332735c88e7ad40.tar.gz |
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.
-rwxr-xr-x | src/linux/integration-test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/linux/integration-test.py b/src/linux/integration-test.py index 23fc972..3185b03 100755 --- a/src/linux/integration-test.py +++ b/src/linux/integration-test.py @@ -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: |