commit cf0f6ebddf6bb3a1b823333fa2cd236e16cba69c
parent 31075ab2ef57c87fe351281ca3e016d565f2fa05
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 23 Sep 2021 15:57:25 -0700
test-runner: set DBUS_SYSTEM_BUS_ADDRESS for --shell
After namespaces were added, the dbus address was customized to
be /tmp/dbus{0..N}. This prevented any dbus applications started
in the shell from working properly.
Set DBUS_SYSTEM_BUS_ADDRESS to the environment prior to entering
the shell.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/tools/test-runner b/tools/test-runner
@@ -1416,6 +1416,7 @@ def run_auto_tests(ctx, args):
# a set of tests was passed in just start out in the first.
#
os.chdir(tests[0])
+ os.environ['DBUS_SYSTEM_BUS_ADDRESS'] = ctx.dbus_address
os.system('/bin/bash')
exit()