summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2022-05-25 16:53:34 +0200
committerBenjamin Berg <bberg@redhat.com>2022-05-25 16:57:21 +0200
commitc330351937090e4c23918c193332735c88e7ad40 (patch)
treed260fc35ad5eff8bd6e0d1fe95c217321fa2d2b3
parent190d12e2929ea40327c6dcae073ed582dcea9f66 (diff)
downloadupower-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-xsrc/linux/integration-test.py2
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: