linux: Fix integration test to work under jhbuild

Fixes: 648abe9c27 ("tests: Test a client running while daemon restarts")
This commit is contained in:
Bastien Nocera 2023-07-06 10:07:08 +02:00
parent f8fe036331
commit e4e498e198

View file

@ -108,6 +108,7 @@ class Tests(dbusmock.DBusTestCase):
elif os.environ.get('UNDER_JHBUILD', False):
jhbuild_prefix = os.environ['JHBUILD_PREFIX']
cls.daemon_path = os.path.join(jhbuild_prefix, 'libexec', 'upowerd')
cls.upower_path = os.path.join(jhbuild_prefix, 'bin', 'upower')
print('Testing binaries from JHBuild')
cls.local_daemon = False
else: