Fix Bug#32084
* test/lisp/net/dbus-tests.el (dbus-test02-register-service-own-bus): Unset $DISPLAY when calling dbus-launch, in order to avoid possible X11 authentication errors. (Bug#32084)
This commit is contained in:
parent
da5d6dbe39
commit
e02d8e29c6
1 changed files with 2 additions and 1 deletions
|
@ -133,7 +133,8 @@ This includes initialization and closing the bus."
|
|||
;; Start bus.
|
||||
(let ((output
|
||||
(ignore-errors
|
||||
(shell-command-to-string "dbus-launch --sh-syntax")))
|
||||
(shell-command-to-string
|
||||
"env DISPLAY= dbus-launch --sh-syntax --close-stderr")))
|
||||
bus pid)
|
||||
(skip-unless (stringp output))
|
||||
(when (string-match "DBUS_SESSION_BUS_ADDRESS='\\(.+\\)';" output)
|
||||
|
|
Loading…
Add table
Reference in a new issue