From cf0f6ebddf6bb3a1b823333fa2cd236e16cba69c Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 23 Sep 2021 15:57:25 -0700 Subject: [PATCH] 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. --- tools/test-runner | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/test-runner b/tools/test-runner index b0d6554d..a1967173 100755 --- 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()