diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2018-07-08 13:02:19 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2018-07-08 13:02:19 +0200 |
commit | e02d8e29c6009dbaf04d3e1668f476ba000c7f02 (patch) | |
tree | 61ffd7ae3eeb5410fe69b21cb22272a6c5a14b0e /test/lisp/net/dbus-tests.el | |
parent | da5d6dbe3974a8012d4fb6a0281d583965742aaa (diff) | |
download | emacs-e02d8e29c6009dbaf04d3e1668f476ba000c7f02.tar.gz |
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)
Diffstat (limited to 'test/lisp/net/dbus-tests.el')
-rw-r--r-- | test/lisp/net/dbus-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/net/dbus-tests.el b/test/lisp/net/dbus-tests.el index 624d15ef5f1..8fcb8a564bb 100644 --- a/test/lisp/net/dbus-tests.el +++ b/test/lisp/net/dbus-tests.el @@ -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) |