mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
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.
This commit is contained in:
parent
31075ab2ef
commit
cf0f6ebddf
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user